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.001353/0.001353, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001506/0.001506, allocations: 165 kB / 24.05 MB, free: 464 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.9926/0.9926, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8103/0.8103, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.303e-06/1.303e-06, allocations: 0 / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.517e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.009158/0.009173, allocations: 11.22 MB / 0.5328 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005158/0.01433, allocations: 3.477 MB / 0.5362 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008976/0.01523, allocations: 62.97 kB / 0.5363 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.0159, allocations: 301.5 kB / 0.5366 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.01758, allocations: 0.9072 MB / 0.5375 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.01916, allocations: 1.023 MB / 0.5385 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.02152, allocations: 2.483 MB / 0.5409 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007321/0.02225, allocations: 0.7345 MB / 0.5416 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.02336, allocations: 1.174 MB / 0.5428 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.02392, allocations: 0.6035 MB / 0.5433 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.542e-05/0.024, allocations: 80 kB / 0.5434 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.02439, allocations: 236.2 kB / 0.5436 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.02455, allocations: 243.5 kB / 0.5439 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.02481, allocations: 352.1 kB / 0.5442 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.02558, allocations: 0.8329 MB / 0.545 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.02558, allocations: 0 / 0.545 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.92e-07/0.02558, allocations: 1.219 kB / 0.545 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.02559, allocations: 0 / 0.545 GB, free: 9.844 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.001367/0.02696, allocations: 1.356 MB / 0.5463 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.027, allocations: 12.03 kB / 0.5464 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.02719, allocations: 168.3 kB / 0.5465 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007783/0.02797, allocations: 0.7367 MB / 0.5472 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.02801, allocations: 66.36 kB / 0.5473 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.02808, allocations: 68.88 kB / 0.5474 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.02875, allocations: 0.7552 MB / 0.5481 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.02876, allocations: 3.938 kB / 0.5481 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.0288, allocations: 28 kB / 0.5481 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.02881, allocations: 20 kB / 0.5482 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.02909, allocations: 219.1 kB / 0.5484 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.03127, allocations: 3.798 MB / 0.5521 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.0316, allocations: 182.6 kB / 0.5522 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-05/0.0317, allocations: 76.25 kB / 0.5523 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.03181, allocations: 35.97 kB / 0.5524 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.03206, allocations: 270.3 kB / 0.5526 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.03206, allocations: 0 / 0.5526 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.0007523/0.03281, allocations: 347.8 kB / 0.5529 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.03285, allocations: 60.2 kB / 0.553 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.03325, allocations: 0.6122 MB / 0.5536 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.03329, allocations: 42.7 kB / 0.5536 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.03355, allocations: 0.5026 MB / 0.5541 GB, free: 128 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.03364, allocations: 134.9 kB / 0.5543 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.03376, allocations: 145 kB / 0.5544 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.03391, allocations: 0.5623 MB / 0.5549 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.03402, allocations: 112.7 kB / 0.5551 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.03434, allocations: 0.6822 MB / 0.5557 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.03466, allocations: 468.9 kB / 0.5562 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.03467, allocations: 4 kB / 0.5562 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005173/0.03518, allocations: 0.5659 MB / 0.5567 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.03523, allocations: 59.41 kB / 0.5568 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.03524, allocations: 11.98 kB / 0.5568 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.03525, allocations: 8 kB / 0.5568 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.0355, allocations: 127.8 kB / 0.5569 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.03551, allocations: 17.25 kB / 0.5569 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.03575, allocations: 85.06 kB / 0.557 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.03579, allocations: 31.97 kB / 0.5571 GB, free: 12.77 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.0001576/0.03595, allocations: 200.3 kB / 0.5572 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.03603, allocations: 93.06 kB / 0.5573 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.03674, allocations: 0.6562 MB / 0.558 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.03675, allocations: 12 kB / 0.558 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.03676, allocations: 1.969 kB / 0.558 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.03677, allocations: 7.969 kB / 0.558 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.03787, allocations: 1.193 MB / 0.5592 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.03788, allocations: 4.938 kB / 0.5592 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.03805, allocations: 87.83 kB / 0.5592 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.03805, allocations: 14.27 kB / 0.5593 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.03807, allocations: 12 kB / 0.5593 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.03808, allocations: 11.98 kB / 0.5593 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.03808, allocations: 7.938 kB / 0.5593 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.03897, allocations: 0.7577 MB / 0.56 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.03913, allocations: 169.4 kB / 0.5602 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.03923, allocations: 15.94 kB / 0.5602 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.03942, allocations: 39.97 kB / 0.5602 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.0395, allocations: 68.39 kB / 0.5603 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.03953, allocations: 19.98 kB / 0.5603 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001988/0.03973, allocations: 380.4 kB / 0.5607 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.03973, allocations: 0 / 0.5607 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000446/0.04018, allocations: 251.5 kB / 0.5609 GB, free: 8.645 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.0002276/0.04041, allocations: 191.6 kB / 0.5611 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.04081, allocations: 482 kB / 0.5616 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04081, allocations: 0 / 0.5616 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.041, allocations: 193.9 kB / 0.5618 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.04175, allocations: 295.5 kB / 0.562 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.04325, allocations: 1.436 MB / 0.5634 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.04336, allocations: 193 kB / 0.5636 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.0436, allocations: 124.7 kB / 0.5637 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.04405, allocations: 349.9 kB / 0.5641 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/0.04405, allocations: 0.5938 kB / 0.5641 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of Templates: time 0.01697/0.06102, allocations: 15.4 MB / 0.5791 GB, free: 6.293 MB / 0.5417 GB " [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: 4.001308551989496]