Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 197.2 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 66.16 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2388, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6001/0.8389, allocations: 162.4 MB / 0.9422 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004708/0.8437, allocations: 2.878 MB / 0.945 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007394/0.8444, allocations: 13.59 kB / 0.945 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.8452, allocations: 211.4 kB / 0.9452 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.8476, allocations: 0.7684 MB / 0.946 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.8485, allocations: 342.7 kB / 0.9463 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.8501, allocations: 0.9293 MB / 0.9472 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.8505, allocations: 256.6 kB / 0.9475 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.8513, allocations: 335.3 kB / 0.9478 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.8523, allocations: 285 kB / 0.9481 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.8524, allocations: 37.34 kB / 0.9481 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.8542, allocations: 0.6443 MB / 0.9487 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.8544, allocations: 136.1 kB / 0.9489 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.8548, allocations: 214.9 kB / 0.9491 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.8565, allocations: 0.7428 MB / 0.9498 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8565, allocations: 0 / 0.9498 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8566, allocations: 0.5312 kB / 0.9498 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.8566, allocations: 0 / 0.9498 GB, free: 1.266 MB / 0.7169 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.001491/0.8581, allocations: 0.72 MB / 0.9505 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8581, allocations: 9.5 kB / 0.9505 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.737e-05/0.8582, allocations: 59.03 kB / 0.9506 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.8593, allocations: 135.2 kB / 0.9507 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.86, allocations: 414.3 kB / 0.9511 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.86, allocations: 20.66 kB / 0.9511 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.8601, allocations: 24.12 kB / 0.9511 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.8605, allocations: 280.8 kB / 0.9514 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.8605, allocations: 0 / 0.9514 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.8606, allocations: 9.781 kB / 0.9514 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.8606, allocations: 10.03 kB / 0.9514 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.861, allocations: 195 kB / 0.9516 GB, free: 16.38 MB / 0.7325 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.001785/0.8627, allocations: 1.309 MB / 0.9529 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.8631, allocations: 192.9 kB / 0.9531 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.8633, allocations: 97.34 kB / 0.9532 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.8633, allocations: 1.188 kB / 0.9532 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.8633, allocations: 33.22 kB / 0.9532 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.8633, allocations: 4 kB / 0.9532 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0009547/0.8643, allocations: 402.4 kB / 0.9536 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.8644, allocations: 52.97 kB / 0.9536 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.8647, allocations: 304.2 kB / 0.9539 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.8647, allocations: 30.45 kB / 0.9539 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.8649, allocations: 191.5 kB / 0.9541 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.8649, allocations: 70.33 kB / 0.9542 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.865, allocations: 47.91 kB / 0.9542 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8651, allocations: 336.6 kB / 0.9546 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.8652, allocations: 62.34 kB / 0.9546 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.8654, allocations: 127.9 kB / 0.9547 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.8656, allocations: 196.3 kB / 0.9549 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8656, allocations: 1.25 kB / 0.9549 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003897/0.866, allocations: 249.7 kB / 0.9552 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.8661, allocations: 5.781 kB / 0.9552 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8661, allocations: 7.672 kB / 0.9552 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.8661, allocations: 3.188 kB / 0.9552 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.8663, allocations: 48.56 kB / 0.9552 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.8663, allocations: 6.375 kB / 0.9552 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.8667, allocations: 21.28 kB / 0.9553 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.8667, allocations: 9.844 kB / 0.9553 GB, free: 14.36 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.8669, allocations: 154.9 kB / 0.9554 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.8669, allocations: 35.41 kB / 0.9554 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.867, allocations: 35.61 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.867, allocations: 2.281 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.8671, allocations: 1 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8671, allocations: 7.938 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.8676, allocations: 404.3 kB / 0.9559 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8676, allocations: 0 / 0.9559 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.8678, allocations: 38.89 kB / 0.9559 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.868, allocations: 44.39 kB / 0.956 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.8681, allocations: 1.938 kB / 0.956 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.8693, allocations: 1.513 MB / 0.9574 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8693, allocations: 0 / 0.9574 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.8699, allocations: 424.2 kB / 0.9578 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.8701, allocations: 133.3 kB / 0.958 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.8702, allocations: 8.906 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.8704, allocations: 5.656 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.8705, allocations: 11.27 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.8705, allocations: 12.95 kB / 0.958 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002383/0.8707, allocations: 214.7 kB / 0.9582 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8707, allocations: 0 / 0.9582 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004909/0.8712, allocations: 102.5 kB / 0.9583 GB, free: 12.27 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000942/0.8722, allocations: 0.9586 MB / 0.9592 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.8725, allocations: 168.1 kB / 0.9594 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8725, allocations: 0 / 0.9594 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.8729, allocations: 206.8 kB / 0.9596 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.874, allocations: 195 kB / 0.9598 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.8775, allocations: 2.905 MB / 0.9626 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.8779, allocations: 0.7934 MB / 0.9634 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.8783, allocations: 63.91 kB / 0.9635 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.8784, allocations: 103.8 kB / 0.9636 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of SimCode: time 1.482e-06/0.8785, allocations: 0 / 0.9636 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.9094, allocations: 8.939 MB / 0.9723 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.783/10.69, allocations: 6.406 kB / 0.9723 GB, free: 6.844 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)