Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001086/0.001086, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.00271, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001132/0.001132, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002697, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.104/1.104, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1164/1.22, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7341/0.7341, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2564/0.9905, allocations: 49.13 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.366e-05, allocations: 4.141 kB / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.0087/0.008714, allocations: 11.35 MB / 461 MB, free: 9.422 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.01399, allocations: 3.577 MB / 464.6 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006217/0.01462, allocations: 60.28 kB / 464.7 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.01509, allocations: 313.3 kB / 465 MB, free: 5.512 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.01633, allocations: 0.9031 MB / 465.9 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.01771, allocations: 1.017 MB / 466.9 MB, free: 3.609 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.01968, allocations: 2.483 MB / 469.4 MB, free: 1.125 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.02037, allocations: 0.7046 MB / 470.1 MB, free: 416 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.0215, allocations: 1.236 MB / 471.3 MB, free: 15.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.02199, allocations: 0.5708 MB / 471.9 MB, free: 14.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.02207, allocations: 81.34 kB / 472 MB, free: 14.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.02245, allocations: 239.6 kB / 472.2 MB, free: 14.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.02272, allocations: 191.2 kB / 472.4 MB, free: 14.09 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.02296, allocations: 295.4 kB / 472.7 MB, free: 13.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.02364, allocations: 0.7713 MB / 473.4 MB, free: 13.03 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.02366, allocations: 0.5938 kB / 473.4 MB, free: 13.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02366, allocations: 4 kB / 473.5 MB, free: 13.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.02367, allocations: 2.375 kB / 473.5 MB, free: 13.03 MB / 458.7 MB 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.001236/0.02491, allocations: 1.429 MB / 474.9 MB, free: 11.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.02494, allocations: 12.97 kB / 474.9 MB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.02507, allocations: 128.8 kB / 475 MB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.02571, allocations: 0.6166 MB / 475.6 MB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.02575, allocations: 50.38 kB / 475.7 MB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.02582, allocations: 81 kB / 475.8 MB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.02672, allocations: 0.7111 MB / 476.5 MB, free: 9.855 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.02673, allocations: 9.031 kB / 476.5 MB, free: 9.848 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.02677, allocations: 29.92 kB / 476.5 MB, free: 9.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.02678, allocations: 16 kB / 476.5 MB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.02703, allocations: 211.2 kB / 476.7 MB, free: 9.602 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.02881, allocations: 2.651 MB / 479.4 MB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.0291, allocations: 213 kB / 479.6 MB, free: 6.652 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.02918, allocations: 75.64 kB / 479.7 MB, free: 6.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.02929, allocations: 41.5 kB / 479.7 MB, free: 6.535 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.02952, allocations: 274.5 kB / 480 MB, free: 6.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 1.714e-06/0.02952, allocations: 2.062 kB / 480 MB, free: 6.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003319/0.02985, allocations: 244.4 kB / 480.2 MB, free: 5.988 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.02988, allocations: 63.28 kB / 480.3 MB, free: 5.914 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.0302, allocations: 0.5583 MB / 480.8 MB, free: 5.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.03024, allocations: 37.7 kB / 480.9 MB, free: 5.297 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.0304, allocations: 373.8 kB / 481.2 MB, free: 4.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.03047, allocations: 140 kB / 481.4 MB, free: 4.793 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.03059, allocations: 134.1 kB / 481.5 MB, free: 4.656 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.0307, allocations: 390.6 kB / 481.9 MB, free: 4.266 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/0.0308, allocations: 113.4 kB / 482 MB, free: 4.145 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.03105, allocations: 0.5983 MB / 482.6 MB, free: 3.383 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.03158, allocations: 417.6 kB / 483 MB, free: 2.891 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.03158, allocations: 0 / 483 MB, free: 2.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003586/0.03194, allocations: 458.8 kB / 483.5 MB, free: 2.414 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.03198, allocations: 63.41 kB / 483.5 MB, free: 2.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.03199, allocations: 8 kB / 483.5 MB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.032, allocations: 9.219 kB / 483.5 MB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.03227, allocations: 159.7 kB / 483.7 MB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.03227, allocations: 9.031 kB / 483.7 MB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.0325, allocations: 85.05 kB / 483.8 MB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.03254, allocations: 31.98 kB / 483.8 MB, free: 2.047 MB / 458.7 MB 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.0001377/0.03268, allocations: 162 kB / 484 MB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.03273, allocations: 55.94 kB / 484 MB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.03334, allocations: 0.579 MB / 484.6 MB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.03335, allocations: 11.03 kB / 484.6 MB, free: 1.227 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.03335, allocations: 0 / 484.6 MB, free: 1.227 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.03336, allocations: 3.984 kB / 484.6 MB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.03431, allocations: 1.074 MB / 485.7 MB, free: 88 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.03431, allocations: 4 kB / 485.7 MB, free: 84 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.03451, allocations: 95.92 kB / 485.8 MB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.03465, allocations: 132.9 kB / 485.9 MB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.03466, allocations: 8 kB / 485.9 MB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.03468, allocations: 19.98 kB / 486 MB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.03469, allocations: 4 kB / 486 MB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.03469, allocations: 4 kB / 486 MB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.03519, allocations: 0.6603 MB / 486.6 MB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.03525, allocations: 23.94 kB / 486.6 MB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.03542, allocations: 44.7 kB / 486.7 MB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.03551, allocations: 69.73 kB / 486.8 MB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.03554, allocations: 23.81 kB / 486.8 MB, free: 14.94 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.0357, allocations: 256.6 kB / 487 MB, free: 14.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0357, allocations: 1.344 kB / 487 MB, free: 14.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.03609, allocations: 255.4 kB / 487.3 MB, free: 14.45 MB / 474.7 MB 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.0002247/0.03632, allocations: 176.9 kB / 487.5 MB, free: 14.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.03669, allocations: 463.8 kB / 487.9 MB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.03671, allocations: 8 kB / 487.9 MB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.03687, allocations: 183.3 kB / 488.1 MB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.03756, allocations: 359.6 kB / 488.4 MB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.04337, allocations: 1.452 MB / 489.9 MB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.04348, allocations: 180.4 kB / 490.1 MB, free: 11.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.04372, allocations: 119.4 kB / 490.2 MB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.04414, allocations: 313.8 kB / 490.5 MB, free: 11.13 MB / 474.7 MB Notification: Performance of SimCode: time 6.32e-07/0.04414, allocations: 0 / 490.5 MB, free: 11.13 MB / 474.7 MB Notification: Performance of Templates: time 0.01713/0.06128, allocations: 15.51 MB / 0.4941 GB, free: 12.24 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.908841924741864]