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.001177/0.001177, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001425/0.001425, allocations: 165.3 kB / 23.02 MB, free: 1.555 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.9825/0.9825, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7832/0.7832, allocations: 154.8 MB / 414.7 MB, free: 448 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.444e-06/2.444e-06, allocations: 0 / 0.5205 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.366e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.01092/0.01095, allocations: 11.37 MB / 0.5317 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005557/0.01651, allocations: 3.486 MB / 0.5351 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.01783, allocations: 59.44 kB / 0.5351 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.01864, allocations: 302.9 kB / 0.5354 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.02059, allocations: 0.9001 MB / 0.5363 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.02238, allocations: 1.021 MB / 0.5373 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002477/0.02486, allocations: 2.495 MB / 0.5397 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000904/0.02576, allocations: 0.7232 MB / 0.5404 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.02728, allocations: 1.181 MB / 0.5416 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.02799, allocations: 0.6003 MB / 0.5422 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.02811, allocations: 80 kB / 0.5422 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.02861, allocations: 237 kB / 0.5425 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.02879, allocations: 239 kB / 0.5427 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.0291, allocations: 355.1 kB / 0.543 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.03011, allocations: 0.8329 MB / 0.5438 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.03012, allocations: 1.344 kB / 0.5438 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.03012, allocations: 4 kB / 0.5438 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.03014, allocations: 0 / 0.5438 GB, free: 10.1 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.001498/0.03163, allocations: 1.345 MB / 0.5452 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.03167, allocations: 8.031 kB / 0.5452 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.03191, allocations: 172.2 kB / 0.5453 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.03275, allocations: 0.7416 MB / 0.5461 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.0328, allocations: 58.38 kB / 0.5461 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/0.03288, allocations: 72.31 kB / 0.5462 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008466/0.03373, allocations: 0.793 MB / 0.547 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.03374, allocations: 0 / 0.547 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.03379, allocations: 31.98 kB / 0.547 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.0338, allocations: 20 kB / 0.547 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.03424, allocations: 275.2 kB / 0.5473 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.03708, allocations: 3.904 MB / 0.5511 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.03752, allocations: 194.8 kB / 0.5513 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.03766, allocations: 95.62 kB / 0.5514 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.03781, allocations: 28.61 kB / 0.5514 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.03811, allocations: 290.9 kB / 0.5517 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/0.03811, allocations: 1.594 kB / 0.5517 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.0006248/0.03874, allocations: 371.8 kB / 0.552 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.03877, allocations: 59.39 kB / 0.5521 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.03928, allocations: 0.6243 MB / 0.5527 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.03932, allocations: 38.33 kB / 0.5527 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.03961, allocations: 0.5012 MB / 0.5532 GB, free: 104 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.03971, allocations: 135.1 kB / 0.5533 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.03987, allocations: 143.9 kB / 0.5535 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.04005, allocations: 0.5506 MB / 0.554 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.04022, allocations: 132.7 kB / 0.5541 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.04062, allocations: 0.6935 MB / 0.5548 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.04114, allocations: 492.8 kB / 0.5553 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.04115, allocations: 4 kB / 0.5553 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000666/0.04181, allocations: 0.5953 MB / 0.5559 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.04186, allocations: 64.33 kB / 0.5559 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.04187, allocations: 7.938 kB / 0.5559 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.04189, allocations: 12.78 kB / 0.556 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.04216, allocations: 133.7 kB / 0.5561 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.04217, allocations: 11.94 kB / 0.5561 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.04248, allocations: 83.58 kB / 0.5562 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.04254, allocations: 36.48 kB / 0.5562 GB, free: 12.66 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 (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,DHWDisCom1_Kh.local_reset) * 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.0001961/0.04273, allocations: 204.9 kB / 0.5564 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.04283, allocations: 90.62 kB / 0.5565 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/0.04373, allocations: 0.6946 MB / 0.5572 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.04374, allocations: 7.984 kB / 0.5572 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.04375, allocations: 0 / 0.5572 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.04375, allocations: 7.984 kB / 0.5572 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.04519, allocations: 1.348 MB / 0.5585 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.0452, allocations: 4 kB / 0.5585 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.0454, allocations: 91.88 kB / 0.5586 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.04541, allocations: 4 kB / 0.5586 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.04544, allocations: 19.98 kB / 0.5586 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.04544, allocations: 4 kB / 0.5586 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.04545, allocations: 11.92 kB / 0.5586 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009152/0.04637, allocations: 0.8371 MB / 0.5594 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.04656, allocations: 163.1 kB / 0.5596 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.04662, allocations: 18.28 kB / 0.5596 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.04681, allocations: 35.97 kB / 0.5597 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.04692, allocations: 72.31 kB / 0.5597 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.04695, allocations: 27.98 kB / 0.5598 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003087/0.04726, allocations: 398.9 kB / 0.5601 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04726, allocations: 1.125 kB / 0.5601 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006127/0.04788, allocations: 255.4 kB / 0.5604 GB, free: 8.238 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.0003078/0.04818, allocations: 184.7 kB / 0.5606 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005854/0.04877, allocations: 0.5064 MB / 0.561 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.04877, allocations: 4.812 kB / 0.5611 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.04903, allocations: 214.5 kB / 0.5613 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.04986, allocations: 301 kB / 0.5615 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.05194, allocations: 1.456 MB / 0.563 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.05207, allocations: 188.4 kB / 0.5631 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00031/0.05238, allocations: 135.4 kB / 0.5633 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.05252, allocations: 85.75 kB / 0.5634 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of SimCode: time 4.7e-07/0.05252, allocations: 0 / 0.5634 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of Templates: time 0.01608/0.06859, allocations: 13.4 MB / 0.5764 GB, free: 8.031 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.180763799231499]