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.0009341/0.0009341, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002199, allocations: 440 kB / 10.41 MB, free: 284 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.004157/0.004157, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.005683, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9663/0.9663, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09155/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7954/0.7954, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.3007/1.096, allocations: 49.13 MB / 448.6 MB, free: 5.895 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.573e-06/1.573e-06, allocations: 0 / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.408e-05, allocations: 11.25 kB / 449.9 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.01205/0.01208, allocations: 11.37 MB / 461.3 MB, free: 9.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006235/0.01831, allocations: 3.568 MB / 464.9 MB, free: 5.723 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.01954, allocations: 57.25 kB / 464.9 MB, free: 5.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.02036, allocations: 317.3 kB / 465.2 MB, free: 5.355 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.02205, allocations: 0.8967 MB / 466.1 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.02369, allocations: 1.02 MB / 467.2 MB, free: 3.449 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.02603, allocations: 2.48 MB / 469.6 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.02707, allocations: 0.7092 MB / 470.4 MB, free: 252 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.02869, allocations: 1.233 MB / 471.6 MB, free: 15.01 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.02941, allocations: 0.5662 MB / 472.1 MB, free: 14.44 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.02953, allocations: 84.5 kB / 472.2 MB, free: 14.36 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.03033, allocations: 244.1 kB / 472.5 MB, free: 14.12 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.03049, allocations: 192 kB / 472.7 MB, free: 13.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.03077, allocations: 291.4 kB / 472.9 MB, free: 13.65 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008928/0.03166, allocations: 0.7706 MB / 473.7 MB, free: 12.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.03168, allocations: 5.406 kB / 473.7 MB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03168, allocations: 0 / 473.7 MB, free: 12.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.0317, allocations: 0 / 473.7 MB, free: 12.87 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.001471/0.03317, allocations: 1.431 MB / 475.1 MB, free: 11.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.0332, allocations: 12.03 kB / 475.2 MB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.03336, allocations: 138.3 kB / 475.3 MB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.0341, allocations: 0.6112 MB / 475.9 MB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.03414, allocations: 59.91 kB / 476 MB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.03421, allocations: 68.38 kB / 476 MB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.03486, allocations: 0.7169 MB / 476.7 MB, free: 9.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.03487, allocations: 7.938 kB / 476.8 MB, free: 9.688 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.03491, allocations: 28 kB / 476.8 MB, free: 9.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.03492, allocations: 16 kB / 476.8 MB, free: 9.645 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.03518, allocations: 214.5 kB / 477 MB, free: 9.438 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.03731, allocations: 2.649 MB / 479.7 MB, free: 6.707 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.03763, allocations: 214.4 kB / 479.9 MB, free: 6.492 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.03771, allocations: 75.62 kB / 479.9 MB, free: 6.414 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.03782, allocations: 37.98 kB / 480 MB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.03805, allocations: 278.5 kB / 480.3 MB, free: 6.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.03805, allocations: 0 / 480.3 MB, free: 6.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003243/0.03837, allocations: 244.9 kB / 480.5 MB, free: 5.828 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.03841, allocations: 64.77 kB / 480.6 MB, free: 5.754 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.03873, allocations: 0.5506 MB / 481.1 MB, free: 5.188 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.03877, allocations: 37.7 kB / 481.1 MB, free: 5.145 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.03894, allocations: 381.3 kB / 481.5 MB, free: 4.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.03901, allocations: 131.9 kB / 481.6 MB, free: 4.641 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.03912, allocations: 130.2 kB / 481.8 MB, free: 4.508 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.03922, allocations: 396 kB / 482.2 MB, free: 4.113 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.03933, allocations: 115.5 kB / 482.3 MB, free: 3.988 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.03962, allocations: 0.5983 MB / 482.9 MB, free: 3.227 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.03992, allocations: 436.1 kB / 483.3 MB, free: 2.715 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.03992, allocations: 0 / 483.3 MB, free: 2.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003864/0.04031, allocations: 465.6 kB / 483.7 MB, free: 2.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.04036, allocations: 63.39 kB / 483.8 MB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.04036, allocations: 9.75 kB / 483.8 MB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.04038, allocations: 8 kB / 483.8 MB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.04065, allocations: 155.7 kB / 484 MB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.04066, allocations: 11.98 kB / 484 MB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.04089, allocations: 84.84 kB / 484.1 MB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.04093, allocations: 29.58 kB / 484.1 MB, free: 1.871 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.0001441/0.04108, allocations: 169.3 kB / 484.3 MB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.04113, allocations: 59.88 kB / 484.3 MB, free: 1.637 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.04175, allocations: 0.5798 MB / 484.9 MB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.04177, allocations: 11.98 kB / 484.9 MB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.04177, allocations: 5.406 kB / 484.9 MB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.04178, allocations: 3.984 kB / 484.9 MB, free: 1.031 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.04278, allocations: 1.062 MB / 486 MB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.04279, allocations: 0 / 486 MB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.04298, allocations: 102 kB / 486.1 MB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.04313, allocations: 140.7 kB / 486.2 MB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.04314, allocations: 8 kB / 486.2 MB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.04316, allocations: 23.92 kB / 486.3 MB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.04317, allocations: 8 kB / 486.3 MB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.04317, allocations: 4 kB / 486.3 MB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.04394, allocations: 0.6524 MB / 486.9 MB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.044, allocations: 24.58 kB / 486.9 MB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.04417, allocations: 41.19 kB / 487 MB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.04426, allocations: 68.33 kB / 487.1 MB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.04428, allocations: 19.98 kB / 487.1 MB, free: 14.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.04446, allocations: 261.5 kB / 487.3 MB, free: 14.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04446, allocations: 0 / 487.3 MB, free: 14.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000496/0.04495, allocations: 260.9 kB / 487.6 MB, free: 14.26 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.0002577/0.04521, allocations: 169.6 kB / 487.7 MB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.04564, allocations: 473 kB / 488.2 MB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/0.04566, allocations: 12 kB / 488.2 MB, free: 13.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.0459, allocations: 227 kB / 488.4 MB, free: 13.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.04714, allocations: 1.927 MB / 490.4 MB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/0.05293, allocations: 1.446 MB / 491.8 MB, free: 9.578 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.05304, allocations: 183.4 kB / 492 MB, free: 9.375 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.05334, allocations: 118.4 kB / 492.1 MB, free: 9.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.05377, allocations: 288 kB / 492.4 MB, free: 8.988 MB / 474.7 MB Notification: Performance of SimCode: time 1.123e-06/0.05377, allocations: 0 / 492.4 MB, free: 8.988 MB / 474.7 MB Notification: Performance of Templates: time 0.01942/0.07319, allocations: 15.35 MB / 0.4958 GB, free: 10.25 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.8680273983627558]