Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.Tap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007489/0.0007489, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.988/0.988, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7673/0.7673, allocations: 154.6 MB / 415.6 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.774e-05, allocations: 4.562 kB / 0.5215 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.01554/0.01555, allocations: 11.22 MB / 0.5325 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004735/0.02029, allocations: 3.482 MB / 0.5359 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000515/0.0208, allocations: 64.91 kB / 0.5359 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.02139, allocations: 297.4 kB / 0.5362 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.02273, allocations: 0.9006 MB / 0.5371 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.0242, allocations: 1.036 MB / 0.5381 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.02625, allocations: 2.483 MB / 0.5405 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008582/0.0271, allocations: 0.7346 MB / 0.5412 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.02837, allocations: 1.175 MB / 0.5424 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006546/0.02902, allocations: 0.5996 MB / 0.543 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.02913, allocations: 84 kB / 0.5431 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.02952, allocations: 235.6 kB / 0.5433 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.02973, allocations: 247.8 kB / 0.5435 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.03006, allocations: 351.1 kB / 0.5439 GB, free: 11 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000917/0.03098, allocations: 0.8376 MB / 0.5447 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.03098, allocations: 0 / 0.5447 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.22e-07/0.03098, allocations: 0 / 0.5447 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.03099, allocations: 1.844 kB / 0.5447 GB, free: 10.16 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001419/0.03241, allocations: 1.355 MB / 0.546 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.03244, allocations: 8.031 kB / 0.546 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.03268, allocations: 172.2 kB / 0.5462 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000903/0.03358, allocations: 0.7376 MB / 0.5469 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.03363, allocations: 54.38 kB / 0.5469 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.03372, allocations: 72.38 kB / 0.547 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.03453, allocations: 0.7534 MB / 0.5477 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.03455, allocations: 3.938 kB / 0.5478 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.0346, allocations: 31.19 kB / 0.5478 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.03462, allocations: 16 kB / 0.5478 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.03497, allocations: 221.2 kB / 0.548 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.03769, allocations: 3.795 MB / 0.5517 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.03806, allocations: 177.8 kB / 0.5519 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.03817, allocations: 79.62 kB / 0.552 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.03828, allocations: 35.97 kB / 0.552 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.03851, allocations: 270.2 kB / 0.5523 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.03852, allocations: 0 / 0.5523 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.000437/0.03895, allocations: 341 kB / 0.5526 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.03899, allocations: 59.41 kB / 0.5526 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.03937, allocations: 0.6161 MB / 0.5532 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.0394, allocations: 34.45 kB / 0.5533 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.03966, allocations: 0.5104 MB / 0.5538 GB, free: 460 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.03974, allocations: 139.6 kB / 0.5539 GB, free: 320 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.03987, allocations: 139.8 kB / 0.554 GB, free: 172 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.04005, allocations: 0.5603 MB / 0.5546 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.04017, allocations: 116.7 kB / 0.5547 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.0405, allocations: 0.6778 MB / 0.5554 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.04083, allocations: 479.8 kB / 0.5558 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.04084, allocations: 2.188 kB / 0.5558 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000528/0.04136, allocations: 0.5551 MB / 0.5564 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.0414, allocations: 68.95 kB / 0.5564 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.04141, allocations: 4.562 kB / 0.5564 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.04142, allocations: 9.438 kB / 0.5564 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.04166, allocations: 131.7 kB / 0.5566 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.04167, allocations: 12 kB / 0.5566 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.04191, allocations: 85.52 kB / 0.5567 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.04195, allocations: 31.98 kB / 0.5567 GB, free: 13.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (DHWDisCom1_Kh.local_reset,m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.04212, allocations: 212.2 kB / 0.5569 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.04219, allocations: 88.22 kB / 0.557 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.04292, allocations: 0.6538 MB / 0.5576 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.04293, allocations: 11.98 kB / 0.5576 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.04293, allocations: 0 / 0.5576 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.04293, allocations: 5.328 kB / 0.5576 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.04405, allocations: 1.197 MB / 0.5588 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.04406, allocations: 4 kB / 0.5588 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.04424, allocations: 96.75 kB / 0.5589 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.04425, allocations: 7.938 kB / 0.5589 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.04427, allocations: 20.7 kB / 0.5589 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.04427, allocations: 4 kB / 0.5589 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.04428, allocations: 5.344 kB / 0.5589 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.04493, allocations: 0.7657 MB / 0.5597 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.0451, allocations: 159.1 kB / 0.5598 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.04517, allocations: 20.72 kB / 0.5598 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.04536, allocations: 36.56 kB / 0.5599 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.04546, allocations: 69.95 kB / 0.5599 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.0455, allocations: 23.98 kB / 0.56 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002509/0.04575, allocations: 378.8 kB / 0.5603 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.04575, allocations: 0 / 0.5603 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005021/0.04625, allocations: 245.8 kB / 0.5606 GB, free: 8.973 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002703/0.04652, allocations: 193.5 kB / 0.5607 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.04698, allocations: 485.5 kB / 0.5612 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.04698, allocations: 1.438 kB / 0.5612 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.04719, allocations: 201.6 kB / 0.5614 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.04796, allocations: 301.6 kB / 0.5617 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.04947, allocations: 1.432 MB / 0.5631 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.04959, allocations: 189.6 kB / 0.5633 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.04982, allocations: 120.5 kB / 0.5634 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.05028, allocations: 353.9 kB / 0.5637 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of SimCode: time 6.62e-07/0.05028, allocations: 0 / 0.5637 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of Templates: time 0.01659/0.06687, allocations: 15.39 MB / 0.5788 GB, free: 6.605 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.923065164592117]