Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_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.001051/0.001051, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007728/0.007728, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.268/2.268, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005123, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5277, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1304/0.6581, allocations: 158.1 MB / 1.177 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003618/0.6618, allocations: 2.929 MB / 1.18 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.6622, allocations: 15.94 kB / 1.18 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.6627, allocations: 175.1 kB / 1.181 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.6642, allocations: 0.7314 MB / 1.181 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.6648, allocations: 299.4 kB / 1.182 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.666, allocations: 1.235 MB / 1.183 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.6663, allocations: 210.2 kB / 1.183 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.6667, allocations: 282.6 kB / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.6674, allocations: 278.8 kB / 1.183 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.6675, allocations: 12 kB / 1.183 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.6685, allocations: 0.7442 MB / 1.184 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.6686, allocations: 111.6 kB / 1.184 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.6688, allocations: 216.7 kB / 1.185 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.6697, allocations: 0.7554 MB / 1.185 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6697, allocations: 3.938 kB / 1.185 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6697, allocations: 0 / 1.185 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6697, allocations: 0 / 1.185 GB, free: 9.184 MB / 0.9356 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.0008748/0.6706, allocations: 0.6389 MB / 1.186 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.6706, allocations: 8.031 kB / 1.186 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.6707, allocations: 58.55 kB / 1.186 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000945/0.6717, allocations: 151.3 kB / 1.186 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.6721, allocations: 402.3 kB / 1.186 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6722, allocations: 16.56 kB / 1.186 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.6722, allocations: 24 kB / 1.187 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.6726, allocations: 279.6 kB / 1.187 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6726, allocations: 7.938 kB / 1.187 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.6727, allocations: 8 kB / 1.187 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.6727, allocations: 16.55 kB / 1.187 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.673, allocations: 198.1 kB / 1.187 GB, free: 7.289 MB / 0.9356 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.001449/0.6745, allocations: 1.326 MB / 1.188 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.6748, allocations: 190.9 kB / 1.188 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.6749, allocations: 88.83 kB / 1.189 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.675, allocations: 4 kB / 1.189 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.675, allocations: 38.55 kB / 1.189 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 2.635e-06/0.675, allocations: 3.984 kB / 1.189 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0008057/0.6758, allocations: 401.3 kB / 1.189 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.6758, allocations: 59.41 kB / 1.189 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.6761, allocations: 300.5 kB / 1.189 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.6761, allocations: 33.7 kB / 1.189 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.6762, allocations: 188.1 kB / 1.19 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.6763, allocations: 70.95 kB / 1.19 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.6763, allocations: 25.7 kB / 1.19 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.6764, allocations: 338.8 kB / 1.19 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.782e-05/0.6765, allocations: 63.97 kB / 1.19 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.6767, allocations: 123.2 kB / 1.19 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.6769, allocations: 195.2 kB / 1.19 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6769, allocations: 0 / 1.19 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003252/0.6773, allocations: 250.9 kB / 1.191 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6773, allocations: 6.031 kB / 1.191 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6773, allocations: 4 kB / 1.191 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.6773, allocations: 0 / 1.191 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.6775, allocations: 56.05 kB / 1.191 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6775, allocations: 7.938 kB / 1.191 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.6778, allocations: 19.83 kB / 1.191 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.6778, allocations: 12 kB / 1.191 GB, free: 3.262 MB / 0.9356 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.0001301/0.6779, allocations: 158.3 kB / 1.191 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.678, allocations: 35.56 kB / 1.191 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.6781, allocations: 43.08 kB / 1.191 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6781, allocations: 4 kB / 1.191 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6781, allocations: 0 / 1.191 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6781, allocations: 0 / 1.191 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.6785, allocations: 401.2 kB / 1.191 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6785, allocations: 0 / 1.191 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.6787, allocations: 43.84 kB / 1.191 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.6789, allocations: 40.83 kB / 1.191 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.6789, allocations: 4 kB / 1.191 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009575/0.6799, allocations: 1.413 MB / 1.193 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6799, allocations: 0 / 1.193 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.6804, allocations: 408.7 kB / 1.193 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.6805, allocations: 128.8 kB / 1.193 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.6805, allocations: 4 kB / 1.193 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6808, allocations: 15.89 kB / 1.193 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.6808, allocations: 19.92 kB / 1.193 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.6809, allocations: 8 kB / 1.193 GB, free: 336 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001772/0.681, allocations: 215.1 kB / 1.194 GB, free: 124 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.681, allocations: 0 / 1.194 GB, free: 124 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003541/0.6814, allocations: 99.84 kB / 1.194 GB, free: 24 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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.0007351/0.6821, allocations: 0.9492 MB / 1.195 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.6824, allocations: 164.1 kB / 1.195 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6824, allocations: 3.984 kB / 1.195 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.6827, allocations: 202.6 kB / 1.195 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.6836, allocations: 189 kB / 1.195 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.6866, allocations: 3.116 MB / 1.198 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.6869, allocations: 0.7957 MB / 1.199 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.6872, allocations: 59.25 kB / 1.199 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.6873, allocations: 103.4 kB / 1.199 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.6873, allocations: 0 / 1.199 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.378/4.066, allocations: 8.419 MB / 1.207 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/4.066, allocations: 219.3 kB / 1.207 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/6.425, allocations: 0 / 1.207 GB, free: 1.855 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)