Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.582/2.582, allocations: 287.3 MB / 302.3 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 174.6 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.00115, allocations: 93.91 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004894, allocations: 11.48 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.88/7.105, allocations: 2.068 GB / 3.047 GB, free: 205.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/7.105, allocations: 91.56 kB / 3.047 GB, free: 205.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5183/7.624, allocations: 164.3 MB / 3.207 GB, free: 48.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/7.624, allocations: 0 / 3.207 GB, free: 48.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.271e-05/7.624, allocations: 11.94 kB / 3.207 GB, free: 48.04 MB / 0.948 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.001443/7.625, allocations: 0.6819 MB / 3.208 GB, free: 47.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/7.625, allocations: 16.02 kB / 3.208 GB, free: 47.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.367e-05/7.625, allocations: 62.48 kB / 3.208 GB, free: 47.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/7.627, allocations: 131.4 kB / 3.208 GB, free: 47.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/7.628, allocations: 398.7 kB / 3.208 GB, free: 46.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/7.628, allocations: 24.56 kB / 3.208 GB, free: 46.65 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/7.628, allocations: 27.98 kB / 3.208 GB, free: 46.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/7.628, allocations: 275.6 kB / 3.209 GB, free: 46.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/7.628, allocations: 3.938 kB / 3.209 GB, free: 46.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/7.628, allocations: 8 kB / 3.209 GB, free: 46.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/7.629, allocations: 8.562 kB / 3.209 GB, free: 46.32 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/7.629, allocations: 198.1 kB / 3.209 GB, free: 46.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/7.631, allocations: 1.293 MB / 3.21 GB, free: 44.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/7.632, allocations: 204.2 kB / 3.21 GB, free: 44.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/7.632, allocations: 4 kB / 3.21 GB, free: 44.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/7.632, allocations: 30.56 kB / 3.21 GB, free: 44.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.414e-06/7.632, allocations: 0 / 3.21 GB, free: 44.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001366/7.633, allocations: 409.8 kB / 3.211 GB, free: 44.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/7.633, allocations: 51.41 kB / 3.211 GB, free: 43.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/7.634, allocations: 263.7 kB / 3.211 GB, free: 43.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/7.634, allocations: 33.7 kB / 3.211 GB, free: 43.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/7.634, allocations: 196.3 kB / 3.211 GB, free: 43.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/7.634, allocations: 67.03 kB / 3.211 GB, free: 43.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/7.634, allocations: 4 kB / 3.211 GB, free: 43.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/7.634, allocations: 338.8 kB / 3.212 GB, free: 43.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/7.634, allocations: 63.91 kB / 3.212 GB, free: 42.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/7.634, allocations: 124.1 kB / 3.212 GB, free: 42.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/7.635, allocations: 79.98 kB / 3.212 GB, free: 42.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/7.635, allocations: 0 / 3.212 GB, free: 42.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005024/7.635, allocations: 252.5 kB / 3.212 GB, free: 42.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/7.635, allocations: 8 kB / 3.212 GB, free: 42.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/7.635, allocations: 0 / 3.212 GB, free: 42.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/7.635, allocations: 4 kB / 3.212 GB, free: 42.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/7.636, allocations: 51.92 kB / 3.212 GB, free: 42.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/7.636, allocations: 3.938 kB / 3.212 GB, free: 42.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/7.636, allocations: 19.84 kB / 3.212 GB, free: 42.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/7.636, allocations: 8.188 kB / 3.212 GB, free: 42.41 MB / 0.948 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.000215/7.636, allocations: 157.8 kB / 3.212 GB, free: 42.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/7.637, allocations: 35.56 kB / 3.213 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.639e-05/7.637, allocations: 38.36 kB / 3.213 GB, free: 42.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/7.637, allocations: 4 kB / 3.213 GB, free: 42.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/7.637, allocations: 3.953 kB / 3.213 GB, free: 42.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/7.637, allocations: 0 / 3.213 GB, free: 42.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/7.637, allocations: 409.2 kB / 3.213 GB, free: 41.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/7.637, allocations: 0 / 3.213 GB, free: 41.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/7.638, allocations: 39.98 kB / 3.213 GB, free: 41.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/7.638, allocations: 36.83 kB / 3.213 GB, free: 41.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/7.638, allocations: 15.88 kB / 3.213 GB, free: 41.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/7.639, allocations: 1.425 MB / 3.214 GB, free: 40.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/7.639, allocations: 3.953 kB / 3.214 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/7.64, allocations: 404.3 kB / 3.215 GB, free: 39.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/7.64, allocations: 128.7 kB / 3.215 GB, free: 39.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/7.64, allocations: 16 kB / 3.215 GB, free: 39.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/7.641, allocations: 12 kB / 3.215 GB, free: 39.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/7.641, allocations: 7.984 kB / 3.215 GB, free: 39.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/7.641, allocations: 8 kB / 3.215 GB, free: 39.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002816/7.641, allocations: 211.1 kB / 3.215 GB, free: 39.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/7.641, allocations: 0 / 3.215 GB, free: 39.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007707/7.642, allocations: 163.7 kB / 3.215 GB, free: 39.09 MB / 0.948 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.00188/7.644, allocations: 1.53 MB / 3.217 GB, free: 37.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004197/7.644, allocations: 167.8 kB / 3.217 GB, free: 37.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/7.644, allocations: 0 / 3.217 GB, free: 37.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/7.645, allocations: 202.6 kB / 3.217 GB, free: 37.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/7.646, allocations: 191.3 kB / 3.217 GB, free: 36.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/7.65, allocations: 2.878 MB / 3.22 GB, free: 34.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/7.65, allocations: 0.8001 MB / 3.221 GB, free: 33.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000466/7.651, allocations: 58.94 kB / 3.221 GB, free: 33.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/7.651, allocations: 107.4 kB / 3.221 GB, free: 33.03 MB / 0.948 GB Notification: Performance of SimCode: time 1.824e-06/7.651, allocations: 0 / 3.221 GB, free: 33.03 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/7.704, allocations: 20.22 MB / 3.241 GB, free: 13.01 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/7.705, allocations: 208.8 kB / 3.241 GB, free: 12.77 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/10.85, allocations: 3.938 kB / 3.241 GB, free: 12.76 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)