Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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.001011/0.001011, allocations: 93.06 kB / 19.65 MB, free: 276 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.001514/0.001514, allocations: 169 kB / 23.02 MB, free: 1.547 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.9461/0.9461, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001688/0.001688, allocations: 231.8 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.688/0.688, allocations: 138.4 MB / 455.2 MB, free: 1.535 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.22e-05, allocations: 5.266 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.3206/0.3206, allocations: 155.1 MB / 0.7065 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3306, allocations: 10.07 MB / 0.7164 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.3318, allocations: 83.25 kB / 0.7165 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.3326, allocations: 428.7 kB / 0.7169 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.335, allocations: 1.643 MB / 0.7185 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.337, allocations: 1.456 MB / 0.7199 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002971/0.34, allocations: 3.436 MB / 0.7232 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3412, allocations: 1.028 MB / 0.7243 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.3439, allocations: 2.143 MB / 0.7263 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009564/0.3448, allocations: 0.88 MB / 0.7272 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.345, allocations: 112 kB / 0.7273 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.3464, allocations: 1.126 MB / 0.7284 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005426/0.3469, allocations: 0.5061 MB / 0.7289 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.3473, allocations: 0.5299 MB / 0.7294 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.3491, allocations: 1.752 MB / 0.7311 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3491, allocations: 0 / 0.7311 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3491, allocations: 0 / 0.7311 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.3491, allocations: 0 / 0.7311 GB, free: 8.656 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002014/0.3512, allocations: 1.978 MB / 0.7331 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3512, allocations: 8.75 kB / 0.7331 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.3524, allocations: 0.5489 MB / 0.7336 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3535, allocations: 1.099 MB / 0.7347 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.3535, allocations: 81.98 kB / 0.7348 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.3536, allocations: 104 kB / 0.7349 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3548, allocations: 1.174 MB / 0.736 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3548, allocations: 15.88 kB / 0.736 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.3549, allocations: 40 kB / 0.7361 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.3549, allocations: 49.98 kB / 0.7361 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.3556, allocations: 451.2 kB / 0.7365 GB, free: 2.84 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.3599, allocations: 7.298 MB / 0.7437 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.3603, allocations: 215.3 kB / 0.7439 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3604, allocations: 88.81 kB / 0.744 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.962e-05/0.3605, allocations: 27.97 kB / 0.744 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3605, allocations: 41.39 kB / 0.744 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.3605, allocations: 0 / 0.744 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0006709/0.3612, allocations: 408.6 kB / 0.7444 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.3612, allocations: 55.41 kB / 0.7445 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.362, allocations: 1.035 MB / 0.7455 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.362, allocations: 37.64 kB / 0.7455 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.3624, allocations: 0.791 MB / 0.7463 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.3624, allocations: 115 kB / 0.7464 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3626, allocations: 172.1 kB / 0.7466 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3627, allocations: 0.516 MB / 0.7471 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3629, allocations: 95.61 kB / 0.7471 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.3633, allocations: 0.8456 MB / 0.748 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.3638, allocations: 0.7008 MB / 0.7487 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3638, allocations: 4 kB / 0.7487 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009455/0.3647, allocations: 0.6466 MB / 0.7493 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3648, allocations: 12 kB / 0.7493 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.3648, allocations: 12 kB / 0.7493 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3648, allocations: 24 kB / 0.7493 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.3652, allocations: 180.3 kB / 0.7495 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3652, allocations: 19.94 kB / 0.7495 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.3656, allocations: 127.3 kB / 0.7497 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.3657, allocations: 47.98 kB / 0.7497 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002653/0.3659, allocations: 231.9 kB / 0.7499 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004144/0.3663, allocations: 0.8452 MB / 0.7507 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004921/0.3668, allocations: 0.6914 MB / 0.7514 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.3668, allocations: 4 kB / 0.7514 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0006838/0.3675, allocations: 0.6534 MB / 0.7521 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3675, allocations: 11.98 kB / 0.7521 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3675, allocations: 12 kB / 0.7521 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.3675, allocations: 19.94 kB / 0.7521 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.3679, allocations: 175.7 kB / 0.7523 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3679, allocations: 24.17 kB / 0.7523 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.3683, allocations: 107.6 kB / 0.7524 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.3683, allocations: 43.98 kB / 0.7524 GB, free: 1.184 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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.0001341/0.3685, allocations: 327.6 kB / 0.7528 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3686, allocations: 139.2 kB / 0.7529 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.369, allocations: 337.5 kB / 0.7532 GB, free: 388 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.369, allocations: 4 kB / 0.7532 GB, free: 384 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.369, allocations: 0 / 0.7532 GB, free: 384 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.369, allocations: 7.984 kB / 0.7532 GB, free: 376 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.3703, allocations: 1.302 MB / 0.7545 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3703, allocations: 4 kB / 0.7545 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3705, allocations: 79.88 kB / 0.7546 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3705, allocations: 4 kB / 0.7546 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.3705, allocations: 12 kB / 0.7546 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3705, allocations: 4.281 kB / 0.7546 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3705, allocations: 15.92 kB / 0.7546 GB, free: 14.85 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.371, allocations: 0.5842 MB / 0.7552 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.3712, allocations: 195 kB / 0.7554 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.3712, allocations: 8 kB / 0.7554 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.3716, allocations: 40.59 kB / 0.7554 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.3716, allocations: 39.83 kB / 0.7554 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.3717, allocations: 19.98 kB / 0.7555 GB, free: 13.89 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007373/0.3724, allocations: 0.6131 MB / 0.7561 GB, free: 13.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3724, allocations: 0 / 0.7561 GB, free: 13.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009646/0.3734, allocations: 0.6469 MB / 0.7567 GB, free: 12.62 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002529/0.3736, allocations: 178.9 kB / 0.7569 GB, free: 12.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.3743, allocations: 0.5822 MB / 0.7574 GB, free: 11.85 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3743, allocations: 0 / 0.7574 GB, free: 11.85 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3745, allocations: 104.9 kB / 0.7575 GB, free: 11.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.3756, allocations: 0.4965 MB / 0.758 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3781, allocations: 2.04 MB / 0.76 GB, free: 9.148 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.3782, allocations: 251.2 kB / 0.7602 GB, free: 8.879 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005714/0.3788, allocations: 312.5 kB / 0.7605 GB, free: 8.57 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3789, allocations: 80.48 kB / 0.7606 GB, free: 8.492 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/0.3789, allocations: 0 / 0.7606 GB, free: 8.492 MB / 0.573 GB Notification: Performance of Templates: time 0.02034/0.3993, allocations: 18 MB / 0.7782 GB, free: 6.926 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.347377354744822]