Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.86/2.86, allocations: 287.5 MB / 302.4 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 178.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000949/0.0009489, allocations: 94.2 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005029, allocations: 13.66 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.8385/1.045, allocations: 147.5 MB / 1.122 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005661/1.051, allocations: 2.7 MB / 1.125 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/1.051, allocations: 11.94 kB / 1.125 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007009/1.052, allocations: 142.5 kB / 1.125 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/1.055, allocations: 0.5687 MB / 1.126 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/1.056, allocations: 225.1 kB / 1.126 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001871/1.058, allocations: 1.037 MB / 1.127 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/1.058, allocations: 191.3 kB / 1.127 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/1.059, allocations: 280.4 kB / 1.127 GB, free: 500 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/1.059, allocations: 270.6 kB / 1.128 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/1.059, allocations: 10.69 kB / 1.128 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/1.061, allocations: 318.5 kB / 1.128 GB, free: 408 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/1.061, allocations: 105 kB / 1.128 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/1.061, allocations: 104.7 kB / 1.128 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008398/1.062, allocations: 0.4919 MB / 1.129 GB, free: 308 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/1.062, allocations: 3.188 kB / 1.129 GB, free: 308 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.315e-06/1.062, allocations: 2.906 kB / 1.129 GB, free: 308 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.331e-05/1.062, allocations: 0 / 1.129 GB, free: 308 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001339/1.063, allocations: 0.6399 MB / 1.129 GB, free: 15.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.063, allocations: 13.75 kB / 1.129 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/1.065, allocations: 138.2 kB / 1.129 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007773/1.066, allocations: 393.8 kB / 1.13 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/1.066, allocations: 15.94 kB / 1.13 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/1.066, allocations: 26.38 kB / 1.13 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/1.066, allocations: 269.8 kB / 1.13 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.066, allocations: 0 / 1.13 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/1.066, allocations: 16.22 kB / 1.13 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/1.066, allocations: 9.562 kB / 1.13 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/1.067, allocations: 197.5 kB / 1.13 GB, free: 15.47 MB / 0.698 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.00246/1.069, allocations: 1.326 MB / 1.132 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/1.07, allocations: 194 kB / 1.132 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/1.07, allocations: 95.7 kB / 1.132 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/1.07, allocations: 2.391 kB / 1.132 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/1.07, allocations: 41 kB / 1.132 GB, free: 14.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.745e-06/1.07, allocations: 0 / 1.132 GB, free: 14.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00138/1.072, allocations: 393.3 kB / 1.132 GB, free: 14.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.072, allocations: 62.55 kB / 1.132 GB, free: 14.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/1.072, allocations: 295.2 kB / 1.133 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/1.072, allocations: 30.11 kB / 1.133 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/1.072, allocations: 188.8 kB / 1.133 GB, free: 14.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.073, allocations: 70.66 kB / 1.133 GB, free: 14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/1.073, allocations: 6.531 kB / 1.133 GB, free: 14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.073, allocations: 338.5 kB / 1.133 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/1.073, allocations: 64.27 kB / 1.133 GB, free: 13.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/1.073, allocations: 122.1 kB / 1.133 GB, free: 13.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.073, allocations: 82.39 kB / 1.133 GB, free: 13.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.073, allocations: 5.5 kB / 1.133 GB, free: 13.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006/1.074, allocations: 243.5 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.074, allocations: 6.469 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.074, allocations: 1.625 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.074, allocations: 2.562 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/1.075, allocations: 44.03 kB / 1.134 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/1.075, allocations: 10.41 kB / 1.134 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/1.075, allocations: 26.03 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/1.075, allocations: 10.09 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002782/1.075, allocations: 162.6 kB / 1.134 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.808e-05/1.076, allocations: 29.06 kB / 1.134 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/1.076, allocations: 37.33 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.076, allocations: 3.062 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.076, allocations: 5.484 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.076, allocations: 7.953 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/1.076, allocations: 406.6 kB / 1.134 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.076, allocations: 0 / 1.134 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/1.077, allocations: 33.52 kB / 1.134 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/1.077, allocations: 44.75 kB / 1.134 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.077, allocations: 8.172 kB / 1.134 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/1.079, allocations: 1.397 MB / 1.136 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.079, allocations: 3.938 kB / 1.136 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/1.08, allocations: 419.8 kB / 1.136 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/1.08, allocations: 129.9 kB / 1.136 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.107e-05/1.08, allocations: 3.5 kB / 1.136 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/1.081, allocations: 20.95 kB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/1.081, allocations: 11.67 kB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/1.081, allocations: 9.969 kB / 1.136 GB, free: 11.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003225/1.081, allocations: 218.6 kB / 1.137 GB, free: 11.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.081, allocations: 0 / 1.137 GB, free: 11.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006083/1.082, allocations: 101.7 kB / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/1.082, allocations: 116 kB / 1.137 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004418/1.082, allocations: 165.8 kB / 1.137 GB, free: 11.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.082, allocations: 0 / 1.137 GB, free: 11.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/1.083, allocations: 195.7 kB / 1.137 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.084, allocations: 192.7 kB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/1.086, allocations: 0.9413 MB / 1.138 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/1.087, allocations: 0.795 MB / 1.139 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004985/1.087, allocations: 64.58 kB / 1.139 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.088, allocations: 27.84 kB / 1.139 GB, free: 10.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.088, allocations: 0 / 1.139 GB, free: 10.02 MB / 0.698 GB Notification: Performance of Templates: time 0.01773/1.105, allocations: 5.663 MB / 1.145 GB, free: 8.168 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)