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.001816/0.001816, allocations: 93.47 kB / 19.44 MB, free: 336 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.002003/0.002003, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.656/1.656, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.005119/0.005119, allocations: 237.2 kB / 259.8 MB, free: 12.85 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 1.184/1.184, allocations: 138.4 MB / 454.7 MB, free: 1.48 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.703e-06/1.703e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.977e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5077/0.5077, allocations: 236.4 MB / 0.7852 GB, free: 332 kB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03574/0.5435, allocations: 16.09 MB / 0.8009 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/0.5461, allocations: 87.25 kB / 0.801 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.5496, allocations: 1.017 MB / 0.802 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009525/0.5591, allocations: 3.183 MB / 0.8051 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00512/0.5643, allocations: 1.768 MB / 0.8068 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006162/0.5704, allocations: 3.5 MB / 0.8102 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.5731, allocations: 1.032 MB / 0.8112 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00941/0.5825, allocations: 3.053 MB / 0.8142 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.5856, allocations: 1.039 MB / 0.8152 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005169/0.5861, allocations: 116 kB / 0.8153 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006367/0.5925, allocations: 2.594 MB / 0.8179 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.5937, allocations: 0.5139 MB / 0.8184 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.5954, allocations: 0.5416 MB / 0.8189 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006997/0.6024, allocations: 3.01 MB / 0.8218 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6024, allocations: 4 kB / 0.8218 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6024, allocations: 0 / 0.8218 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.411e-05/0.6025, allocations: 0 / 0.8218 GB, free: 10.73 MB / 0.6355 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.005118/0.6076, allocations: 2.214 MB / 0.824 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6077, allocations: 16.73 kB / 0.824 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.6107, allocations: 0.5801 MB / 0.8246 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.6138, allocations: 1.147 MB / 0.8257 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.6139, allocations: 78 kB / 0.8258 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.6142, allocations: 103.9 kB / 0.8259 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.6171, allocations: 1.432 MB / 0.8273 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.6171, allocations: 7.938 kB / 0.8273 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.6173, allocations: 44 kB / 0.8273 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.6173, allocations: 42 kB / 0.8274 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.6195, allocations: 0.7764 MB / 0.8281 GB, free: 4.008 MB / 0.6355 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.01132/0.6308, allocations: 7.957 MB / 0.8359 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6322, allocations: 382.7 kB / 0.8363 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.6327, allocations: 172.1 kB / 0.8364 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.6331, allocations: 56.23 kB / 0.8365 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.6331, allocations: 41.67 kB / 0.8365 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.073e-06/0.6331, allocations: 0 / 0.8365 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002252/0.6354, allocations: 0.6223 MB / 0.8371 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.6354, allocations: 59.34 kB / 0.8372 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002485/0.6379, allocations: 1.413 MB / 0.8386 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.638, allocations: 37.7 kB / 0.8386 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.6392, allocations: 0.8652 MB / 0.8395 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6394, allocations: 138.9 kB / 0.8396 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/0.6397, allocations: 188.2 kB / 0.8398 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003281/0.6401, allocations: 0.5277 MB / 0.8403 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/0.6407, allocations: 215.5 kB / 0.8405 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.6422, allocations: 1.039 MB / 0.8415 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.644, allocations: 0.9062 MB / 0.8424 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.644, allocations: 5.062 kB / 0.8424 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002351/0.6464, allocations: 0.871 MB / 0.8432 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.6464, allocations: 8 kB / 0.8432 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.6464, allocations: 12 kB / 0.8433 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/0.6465, allocations: 16.78 kB / 0.8433 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.6473, allocations: 191.6 kB / 0.8435 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.934e-05/0.6473, allocations: 19.94 kB / 0.8435 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.6485, allocations: 111.5 kB / 0.8436 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6486, allocations: 47.98 kB / 0.8436 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001097/0.6497, allocations: 451.5 kB / 0.8441 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001435/0.6511, allocations: 1.047 MB / 0.8451 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001984/0.6531, allocations: 0.9052 MB / 0.846 GB, free: 352 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.936e-06/0.6531, allocations: 0 / 0.846 GB, free: 352 kB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.2387/0.8918, allocations: 0.8588 MB / 0.8468 GB, free: 239.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8918, allocations: 9.406 kB / 0.8468 GB, free: 239.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8918, allocations: 13.31 kB / 0.8468 GB, free: 239.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8918, allocations: 15.75 kB / 0.8468 GB, free: 239.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.8925, allocations: 184.7 kB / 0.847 GB, free: 239.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.8925, allocations: 30.19 kB / 0.847 GB, free: 239.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.8936, allocations: 97.48 kB / 0.8471 GB, free: 239.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.8937, allocations: 43.83 kB / 0.8472 GB, free: 239.6 MB / 0.6511 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 (88): * Single equations (assignments): 88 * 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.0002293/0.8939, allocations: 329.4 kB / 0.8475 GB, free: 239.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.8941, allocations: 132.8 kB / 0.8476 GB, free: 239.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.8953, allocations: 0.4934 MB / 0.8481 GB, free: 239.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.8954, allocations: 4.719 kB / 0.8481 GB, free: 239.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8954, allocations: 0.5625 kB / 0.8481 GB, free: 239.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8954, allocations: 3 kB / 0.8481 GB, free: 239.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.8983, allocations: 1.811 MB / 0.8499 GB, free: 238.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.8983, allocations: 9.203 kB / 0.8499 GB, free: 238.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.8987, allocations: 79.89 kB / 0.85 GB, free: 238.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.8987, allocations: 4.938 kB / 0.85 GB, free: 238.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.8988, allocations: 16.05 kB / 0.85 GB, free: 238.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.8988, allocations: 9.531 kB / 0.85 GB, free: 238.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8988, allocations: 5.875 kB / 0.85 GB, free: 238.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.8999, allocations: 0.7308 MB / 0.8507 GB, free: 238.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.9003, allocations: 190.6 kB / 0.8509 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.9005, allocations: 9.5 kB / 0.8509 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/0.9012, allocations: 40.92 kB / 0.8509 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.9013, allocations: 36.53 kB / 0.851 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.9013, allocations: 26.94 kB / 0.851 GB, free: 238.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009643/0.9023, allocations: 0.8168 MB / 0.8518 GB, free: 238.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1e-07/0.9023, allocations: 1.906 kB / 0.8518 GB, free: 238.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001897/0.9042, allocations: 0.6573 MB / 0.8524 GB, free: 238 MB / 0.6511 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 (32): * Single equations (assignments): 32 * 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.0004487/0.9047, allocations: 261.9 kB / 0.8527 GB, free: 237.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.9067, allocations: 0.9334 MB / 0.8536 GB, free: 237.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9067, allocations: 2.625 kB / 0.8536 GB, free: 237.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.9071, allocations: 192.7 kB / 0.8538 GB, free: 237.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.9093, allocations: 493.2 kB / 0.8543 GB, free: 237.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.9135, allocations: 2.157 MB / 0.8564 GB, free: 236.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.914, allocations: 0.5841 MB / 0.8569 GB, free: 236.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0012/0.9152, allocations: 301.9 kB / 0.8572 GB, free: 236.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.9155, allocations: 83.94 kB / 0.8573 GB, free: 236.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.504e-06/0.9155, allocations: 0.8125 kB / 0.8573 GB, free: 236.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.0355/0.951, allocations: 18.03 MB / 0.8749 GB, free: 231.9 MB / 0.6511 GB " [Timeout remaining time 659] 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: 7.469362608040683]