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.001142/0.001142, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.00147/0.00147, allocations: 165 kB / 23.27 MB, free: 1.23 MB / 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.9658/0.9658, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7765/0.7765, allocations: 154.9 MB / 415.1 MB, free: 272 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 2.014e-06/2.014e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.902e-05, allocations: 5.344 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.01446/0.01449, allocations: 11.22 MB / 0.5321 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005953/0.02045, allocations: 3.473 MB / 0.5355 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007652/0.02121, allocations: 59.44 kB / 0.5355 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.02179, allocations: 301.4 kB / 0.5358 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.02315, allocations: 0.8997 MB / 0.5367 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.02449, allocations: 1.028 MB / 0.5377 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.02634, allocations: 2.491 MB / 0.5401 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007277/0.02707, allocations: 0.7353 MB / 0.5408 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.02812, allocations: 1.173 MB / 0.542 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.02871, allocations: 0.5966 MB / 0.5426 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.02881, allocations: 84.56 kB / 0.5426 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.02915, allocations: 235.6 kB / 0.5429 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.02931, allocations: 247.6 kB / 0.5431 GB, free: 11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.02955, allocations: 348.2 kB / 0.5434 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000678/0.03023, allocations: 0.8329 MB / 0.5442 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.03023, allocations: 3.938 kB / 0.5443 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/0.03023, allocations: 0.875 kB / 0.5443 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.03024, allocations: 0 / 0.5443 GB, free: 9.82 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.001197/0.03144, allocations: 1.356 MB / 0.5456 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.03147, allocations: 9.156 kB / 0.5456 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.03165, allocations: 176.2 kB / 0.5458 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.03232, allocations: 0.7363 MB / 0.5465 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.03236, allocations: 54.38 kB / 0.5465 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.03243, allocations: 73.31 kB / 0.5466 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.03305, allocations: 0.7536 MB / 0.5473 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.03306, allocations: 0 / 0.5473 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.0331, allocations: 28 kB / 0.5474 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.03311, allocations: 18.5 kB / 0.5474 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.03337, allocations: 229.5 kB / 0.5476 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.0355, allocations: 3.795 MB / 0.5513 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.0358, allocations: 175 kB / 0.5515 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.03589, allocations: 88.64 kB / 0.5516 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.933e-05/0.03599, allocations: 39.89 kB / 0.5516 GB, free: 2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.03621, allocations: 275.2 kB / 0.5519 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.03621, allocations: 0 / 0.5519 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.0004336/0.03665, allocations: 346.5 kB / 0.5522 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.03668, allocations: 59.41 kB / 0.5522 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.03706, allocations: 0.6122 MB / 0.5528 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.03709, allocations: 37.7 kB / 0.5529 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.03734, allocations: 0.5065 MB / 0.5534 GB, free: 100 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.03746, allocations: 135 kB / 0.5535 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.03766, allocations: 143.8 kB / 0.5536 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.03781, allocations: 0.5627 MB / 0.5542 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.03793, allocations: 118.1 kB / 0.5543 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.03822, allocations: 0.674 MB / 0.555 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.03856, allocations: 480.4 kB / 0.5554 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.03857, allocations: 4 kB / 0.5554 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005625/0.03913, allocations: 0.5639 MB / 0.556 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.03917, allocations: 66.7 kB / 0.556 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.03918, allocations: 4 kB / 0.556 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.03919, allocations: 12.53 kB / 0.556 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.03944, allocations: 129.1 kB / 0.5562 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.03944, allocations: 11.94 kB / 0.5562 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.03968, allocations: 84.33 kB / 0.5563 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.03972, allocations: 33.14 kB / 0.5563 GB, free: 12.73 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.0001521/0.03987, allocations: 204.3 kB / 0.5565 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.03994, allocations: 92.45 kB / 0.5566 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.04063, allocations: 0.6492 MB / 0.5572 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.04064, allocations: 15.98 kB / 0.5572 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.04065, allocations: 0 / 0.5572 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.04065, allocations: 5.172 kB / 0.5572 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.04174, allocations: 1.202 MB / 0.5584 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.04175, allocations: 0 / 0.5584 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.04191, allocations: 87.89 kB / 0.5585 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.04192, allocations: 8.562 kB / 0.5585 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.04194, allocations: 17.36 kB / 0.5585 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.04194, allocations: 11.94 kB / 0.5585 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.04195, allocations: 4 kB / 0.5585 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.04255, allocations: 0.7621 MB / 0.5593 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.04271, allocations: 170.7 kB / 0.5594 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.04276, allocations: 15.98 kB / 0.5595 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.04293, allocations: 35.97 kB / 0.5595 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.04302, allocations: 72.33 kB / 0.5596 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.04305, allocations: 23.92 kB / 0.5596 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002042/0.04325, allocations: 374.8 kB / 0.5599 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.04325, allocations: 0 / 0.5599 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004463/0.0437, allocations: 247.5 kB / 0.5602 GB, free: 8.613 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.0002513/0.04395, allocations: 199 kB / 0.5604 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.04436, allocations: 479 kB / 0.5608 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04436, allocations: 0 / 0.5608 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.04455, allocations: 197 kB / 0.561 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000712/0.04526, allocations: 298.2 kB / 0.5613 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.04703, allocations: 1.428 MB / 0.5627 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.04715, allocations: 192.2 kB / 0.5629 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.04739, allocations: 136.4 kB / 0.563 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.04783, allocations: 351 kB / 0.5633 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/0.04784, allocations: 3.938 kB / 0.5633 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of Templates: time 0.01633/0.06417, allocations: 15.17 MB / 0.5781 GB, free: 6.473 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: 3.9965552710928023]