Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009057/0.0009057, allocations: 183 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 0.5777 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007719/0.0007718, allocations: 96.02 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.000377, allocations: 8.25 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1659/0.4014, allocations: 147.5 MB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005308/0.4068, allocations: 2.724 MB / 1.047 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.4077, allocations: 11.94 kB / 1.047 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008622/0.4086, allocations: 151.1 kB / 1.047 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.4111, allocations: 0.5753 MB / 1.048 GB, free: 8.906 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.4122, allocations: 242.4 kB / 1.048 GB, free: 8.672 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001961/0.4142, allocations: 1.099 MB / 1.049 GB, free: 7.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.4148, allocations: 193.6 kB / 1.049 GB, free: 7.379 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008231/0.4156, allocations: 310.6 kB / 1.05 GB, free: 7.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.4163, allocations: 267 kB / 1.05 GB, free: 6.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.4164, allocations: 12 kB / 1.05 GB, free: 6.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.4176, allocations: 323.2 kB / 1.05 GB, free: 6.484 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.4178, allocations: 115.6 kB / 1.05 GB, free: 6.371 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.418, allocations: 101.5 kB / 1.05 GB, free: 6.266 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.419, allocations: 0.5107 MB / 1.051 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4191, allocations: 3.984 kB / 1.051 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.607e-06/0.4191, allocations: 0 / 1.051 GB, free: 5.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.199e-05/0.4191, allocations: 11.94 kB / 1.051 GB, free: 5.738 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001524/0.4206, allocations: 0.6388 MB / 1.051 GB, free: 5.051 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4207, allocations: 8.031 kB / 1.051 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.4208, allocations: 62.55 kB / 1.052 GB, free: 4.973 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.422, allocations: 147.3 kB / 1.052 GB, free: 4.828 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.4227, allocations: 378.7 kB / 1.052 GB, free: 4.414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.4228, allocations: 28.5 kB / 1.052 GB, free: 4.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.4229, allocations: 31.91 kB / 1.052 GB, free: 4.355 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.4234, allocations: 287.6 kB / 1.052 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4234, allocations: 0 / 1.052 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.4235, allocations: 12 kB / 1.052 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.4235, allocations: 16.55 kB / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.4239, allocations: 194.1 kB / 1.053 GB, free: 3.844 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.001976/0.4259, allocations: 1.33 MB / 1.054 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.4263, allocations: 198.9 kB / 1.054 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.4265, allocations: 91.17 kB / 1.054 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4266, allocations: 4 kB / 1.054 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4266, allocations: 34.56 kB / 1.054 GB, free: 2.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.4266, allocations: 3.938 kB / 1.054 GB, free: 2.027 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001013/0.4276, allocations: 391.5 kB / 1.055 GB, free: 1.617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4277, allocations: 59.36 kB / 1.055 GB, free: 1.547 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.428, allocations: 296.6 kB / 1.055 GB, free: 1.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.4281, allocations: 29.7 kB / 1.055 GB, free: 1.215 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4282, allocations: 192.3 kB / 1.055 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.4283, allocations: 71 kB / 1.055 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.4283, allocations: 3.938 kB / 1.055 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4285, allocations: 342.8 kB / 1.056 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.4286, allocations: 59.97 kB / 1.056 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.4287, allocations: 119.5 kB / 1.056 GB, free: 416 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4289, allocations: 81.91 kB / 1.056 GB, free: 336 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4289, allocations: 0 / 1.056 GB, free: 336 kB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003473/0.4292, allocations: 241 kB / 1.056 GB, free: 88 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4293, allocations: 8 kB / 1.056 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4293, allocations: 0 / 1.056 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4293, allocations: 8.188 kB / 1.056 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.4295, allocations: 47.91 kB / 1.056 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4295, allocations: 3.953 kB / 1.056 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5001/0.9296, allocations: 20.83 kB / 1.056 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.9297, allocations: 7.094 kB / 1.056 GB, free: 157.2 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.0003001/0.9301, allocations: 165.2 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.9302, allocations: 34.66 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.9303, allocations: 39.39 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.9303, allocations: 3.062 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.9303, allocations: 1.406 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.9304, allocations: 3.266 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.9312, allocations: 402.8 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.9312, allocations: 2.406 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.9314, allocations: 36.75 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/0.9317, allocations: 43.25 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.9317, allocations: 8.094 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.9327, allocations: 1.4 MB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9327, allocations: 0 / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.9333, allocations: 413.9 kB / 1.059 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.9335, allocations: 132.8 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.9336, allocations: 9.422 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.9339, allocations: 20.19 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.9339, allocations: 17.52 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.934, allocations: 2.969 kB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002366/0.9342, allocations: 219.8 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.062e-06/0.9342, allocations: 1.969 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005077/0.9347, allocations: 106.3 kB / 1.059 GB, free: 155.3 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.0009013/0.9356, allocations: 0.9503 MB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.936, allocations: 161.6 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.936, allocations: 0 / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.9364, allocations: 191.8 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.9374, allocations: 192.5 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.9409, allocations: 1.997 MB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.9414, allocations: 0.7958 MB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000475/0.9419, allocations: 60.98 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.9421, allocations: 107.9 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of SimCode: time 1.883e-06/0.9421, allocations: 7.75 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.9737, allocations: 8.969 MB / 1.072 GB, free: 151.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.9739, allocations: 212 kB / 1.072 GB, free: 151 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.32, allocations: 4 kB / 1.072 GB, free: 151 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)