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.001586/0.001587, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00308/0.003081, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.221/3.221, allocations: 205.4 MB / 222.1 MB, free: 5.652 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 2.905/2.905, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.00112/0.001121, allocations: 12.69 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.48, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 1.306/1.786, allocations: 136.3 MB / 0.9204 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007251/1.793, allocations: 2.836 MB / 0.9231 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/1.794, allocations: 14.44 kB / 0.9231 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/1.796, allocations: 213.6 kB / 0.9233 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/1.8, allocations: 0.7239 MB / 0.9241 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/1.802, allocations: 430.6 kB / 0.9245 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001963/1.804, allocations: 0.5476 MB / 0.925 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/1.805, allocations: 183.8 kB / 0.9252 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/1.805, allocations: 253.1 kB / 0.9254 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/1.806, allocations: 182.9 kB / 0.9256 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/1.806, allocations: 13.22 kB / 0.9256 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/1.808, allocations: 285.4 kB / 0.9259 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/1.808, allocations: 98.55 kB / 0.926 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000642/1.809, allocations: 98.27 kB / 0.9261 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/1.81, allocations: 476.6 kB / 0.9265 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.81, allocations: 0 / 0.9265 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.326e-06/1.81, allocations: 0 / 0.9265 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.81, allocations: 7.938 kB / 0.9265 GB, free: 21.61 MB / 0.7325 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.001872/1.812, allocations: 0.6302 MB / 0.9271 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.899e-05/1.812, allocations: 10.94 kB / 0.9271 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/1.812, allocations: 65.23 kB / 0.9272 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.814, allocations: 139.1 kB / 0.9273 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009946/1.815, allocations: 387.1 kB / 0.9277 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/1.815, allocations: 21.31 kB / 0.9277 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/1.815, allocations: 22.59 kB / 0.9278 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/1.816, allocations: 278 kB / 0.928 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.816, allocations: 3.984 kB / 0.928 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/1.816, allocations: 11.44 kB / 0.928 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/1.816, allocations: 9.75 kB / 0.928 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/1.817, allocations: 194.1 kB / 0.9282 GB, free: 20.76 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.003379/1.82, allocations: 1.318 MB / 0.9295 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/1.821, allocations: 188.5 kB / 0.9297 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/1.821, allocations: 10.23 kB / 0.9297 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/1.821, allocations: 36.44 kB / 0.9297 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 5.019e-06/1.821, allocations: 0 / 0.9297 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001656/1.823, allocations: 405.4 kB / 0.9301 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/1.823, allocations: 54.03 kB / 0.9302 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/1.824, allocations: 293.1 kB / 0.9305 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/1.824, allocations: 32.95 kB / 0.9305 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/1.824, allocations: 185.1 kB / 0.9307 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/1.824, allocations: 67.31 kB / 0.9307 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/1.824, allocations: 5.875 kB / 0.9307 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002716/1.825, allocations: 340.4 kB / 0.9311 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.825, allocations: 66.72 kB / 0.9311 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/1.825, allocations: 125.4 kB / 0.9312 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/1.825, allocations: 87.44 kB / 0.9313 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.825, allocations: 0 / 0.9313 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006186/1.826, allocations: 243.9 kB / 0.9316 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/1.826, allocations: 5.953 kB / 0.9316 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.826, allocations: 2.625 kB / 0.9316 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.826, allocations: 2.625 kB / 0.9316 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/1.826, allocations: 44.27 kB / 0.9316 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/1.826, allocations: 7.797 kB / 0.9316 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/1.827, allocations: 21.38 kB / 0.9316 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/1.827, allocations: 12.06 kB / 0.9317 GB, free: 18.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000372/1.827, allocations: 161.4 kB / 0.9318 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.828, allocations: 35.38 kB / 0.9318 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/1.828, allocations: 36.39 kB / 0.9319 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.828, allocations: 2.188 kB / 0.9319 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/1.828, allocations: 5.656 kB / 0.9319 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/1.828, allocations: 1.406 kB / 0.9319 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/1.829, allocations: 413.5 kB / 0.9323 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.829, allocations: 0 / 0.9323 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/1.829, allocations: 35.84 kB / 0.9323 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/1.83, allocations: 40.12 kB / 0.9323 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/1.83, allocations: 4.391 kB / 0.9324 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/1.832, allocations: 1.418 MB / 0.9337 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.832, allocations: 288 / 0.9337 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/1.833, allocations: 421.1 kB / 0.9341 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/1.833, allocations: 135 kB / 0.9343 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/1.833, allocations: 4.125 kB / 0.9343 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/1.834, allocations: 10.95 kB / 0.9343 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/1.834, allocations: 15.06 kB / 0.9343 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/1.834, allocations: 16.81 kB / 0.9343 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005411/1.835, allocations: 208.2 kB / 0.9345 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.835, allocations: 0 / 0.9345 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001019/1.836, allocations: 106.2 kB / 0.9346 GB, free: 16.89 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 (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.002331/1.838, allocations: 0.9528 MB / 0.9355 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009442/1.839, allocations: 163.4 kB / 0.9357 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.839, allocations: 4.375 kB / 0.9357 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/1.84, allocations: 202.2 kB / 0.9359 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.842, allocations: 187.1 kB / 0.9361 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/1.849, allocations: 2.869 MB / 0.9389 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008446/1.85, allocations: 0.8044 MB / 0.9397 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008253/1.85, allocations: 55.09 kB / 0.9397 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.851, allocations: 102 kB / 0.9398 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of SimCode: time 3.507e-06/1.851, allocations: 0 / 0.9398 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04572/1.896, allocations: 8.804 MB / 0.9484 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003886/1.897, allocations: 199.9 kB / 0.9486 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/5.281, allocations: 3.109 kB / 0.9486 GB, free: 12.7 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/linux/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) Environment - environmentSimulation: