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.0007415/0.0007416, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004503/0.004503, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.294/1.294, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.618/1.618, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004821/0.0004821, allocations: 15.81 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5293/0.7209, allocations: 158.1 MB / 0.9423 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.7246, allocations: 2.896 MB / 0.9452 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.725, allocations: 15.94 kB / 0.9452 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.7255, allocations: 179.2 kB / 0.9454 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.7271, allocations: 0.7267 MB / 0.9461 GB, free: 256 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.7278, allocations: 309.6 kB / 0.9464 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.7291, allocations: 1.218 MB / 0.9475 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.7294, allocations: 212 kB / 0.9477 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.7299, allocations: 277.3 kB / 0.948 GB, free: 8 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/0.7306, allocations: 280.6 kB / 0.9483 GB, free: 0 / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.7307, allocations: 12.52 kB / 0.9483 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.7319, allocations: 0.7485 MB / 0.949 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.7321, allocations: 102.2 kB / 0.9491 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.7323, allocations: 215.3 kB / 0.9493 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.7333, allocations: 0.7624 MB / 0.9501 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7333, allocations: 0.5625 kB / 0.9501 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7333, allocations: 0.5312 kB / 0.9501 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7333, allocations: 1.75 kB / 0.9501 GB, free: 15.85 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.001019/0.7343, allocations: 0.6353 MB / 0.9507 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.7344, allocations: 15.75 kB / 0.9507 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.7345, allocations: 58.17 kB / 0.9508 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.7355, allocations: 131.2 kB / 0.9509 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.7361, allocations: 405.2 kB / 0.9513 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.7361, allocations: 24 kB / 0.9513 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.7362, allocations: 26.17 kB / 0.9513 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.7367, allocations: 272.2 kB / 0.9516 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7367, allocations: 1.094 kB / 0.9516 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.7368, allocations: 17.56 kB / 0.9516 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.7368, allocations: 9.219 kB / 0.9516 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.7371, allocations: 195 kB / 0.9518 GB, free: 14.97 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.001554/0.7387, allocations: 1.315 MB / 0.9531 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.739, allocations: 200.1 kB / 0.9533 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.7392, allocations: 88.44 kB / 0.9534 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.7392, allocations: 3.156 kB / 0.9534 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.7393, allocations: 42.39 kB / 0.9534 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.7393, allocations: 1 kB / 0.9534 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0008845/0.7401, allocations: 406 kB / 0.9538 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.7402, allocations: 52.59 kB / 0.9538 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.7405, allocations: 298.5 kB / 0.9541 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.7405, allocations: 31.48 kB / 0.9542 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.7406, allocations: 192.2 kB / 0.9543 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.7407, allocations: 71.19 kB / 0.9544 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.7408, allocations: 27.3 kB / 0.9544 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7409, allocations: 336.3 kB / 0.9547 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.741, allocations: 65.94 kB / 0.9548 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.7411, allocations: 126.7 kB / 0.9549 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.7414, allocations: 189.2 kB / 0.9551 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7414, allocations: 5.156 kB / 0.9551 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003494/0.7417, allocations: 252.6 kB / 0.9554 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7418, allocations: 6.062 kB / 0.9554 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7418, allocations: 1.469 kB / 0.9554 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7418, allocations: 4.953 kB / 0.9554 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.742, allocations: 43.95 kB / 0.9554 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.742, allocations: 4.188 kB / 0.9554 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.7423, allocations: 24.42 kB / 0.9554 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.7423, allocations: 10.56 kB / 0.9554 GB, free: 12.96 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.0001455/0.7425, allocations: 157 kB / 0.9556 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.7425, allocations: 40.25 kB / 0.9556 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.7426, allocations: 33.84 kB / 0.9557 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7426, allocations: 1.219 kB / 0.9557 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.7426, allocations: 1.031 kB / 0.9557 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7427, allocations: 1.062 kB / 0.9557 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.7431, allocations: 402.4 kB / 0.9561 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7431, allocations: 2.531 kB / 0.9561 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.7433, allocations: 40.12 kB / 0.9561 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.7435, allocations: 41.83 kB / 0.9561 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.7435, allocations: 10.42 kB / 0.9561 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.7446, allocations: 1.407 MB / 0.9575 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7446, allocations: 0 / 0.9575 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.7451, allocations: 427 kB / 0.9579 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.7453, allocations: 132.5 kB / 0.9581 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.7453, allocations: 5 kB / 0.9581 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.7456, allocations: 8.125 kB / 0.9581 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.7456, allocations: 18.34 kB / 0.9581 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.7457, allocations: 4.062 kB / 0.9581 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000206/0.7459, allocations: 215.3 kB / 0.9583 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7459, allocations: 7.938 kB / 0.9583 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004181/0.7463, allocations: 102.9 kB / 0.9584 GB, free: 10.96 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.0008258/0.7471, allocations: 0.9579 MB / 0.9593 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.7474, allocations: 161.9 kB / 0.9595 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7474, allocations: 0 / 0.9595 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.7477, allocations: 213.4 kB / 0.9597 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.7487, allocations: 179 kB / 0.9599 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.7521, allocations: 3.096 MB / 0.9629 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.7524, allocations: 0.7948 MB / 0.9637 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002784/0.7527, allocations: 68.14 kB / 0.9637 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.7529, allocations: 101.8 kB / 0.9638 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.7529, allocations: 0 / 0.9638 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.7765, allocations: 8.421 MB / 0.972 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.7768, allocations: 221.7 kB / 0.9723 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.542, allocations: 6.812 kB / 0.9723 GB, free: 4.496 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)