Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.354/2.354, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 87.97 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.939e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3889, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/7.025, allocations: 1.915 GB / 3.134 GB, free: 344.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/7.025, allocations: 87.83 kB / 3.134 GB, free: 344.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3146/7.34, allocations: 168.2 MB / 3.298 GB, free: 185.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/7.34, allocations: 0 / 3.298 GB, free: 185.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.715e-05/7.34, allocations: 11.98 kB / 3.298 GB, free: 185.2 MB / 1.167 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.0009274/7.341, allocations: 0.6162 MB / 3.299 GB, free: 184.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/7.341, allocations: 16.03 kB / 3.299 GB, free: 184.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/7.341, allocations: 62.53 kB / 3.299 GB, free: 184.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000912/7.342, allocations: 139.4 kB / 3.299 GB, free: 184.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/7.343, allocations: 406.5 kB / 3.299 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/7.343, allocations: 24.56 kB / 3.299 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/7.343, allocations: 24 kB / 3.299 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/7.343, allocations: 267.7 kB / 3.3 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/7.343, allocations: 0 / 3.3 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/7.343, allocations: 12 kB / 3.3 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/7.343, allocations: 8.562 kB / 3.3 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/7.344, allocations: 198.1 kB / 3.3 GB, free: 183.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.001501/7.345, allocations: 1.297 MB / 3.301 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/7.345, allocations: 187.8 kB / 3.301 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/7.346, allocations: 88.84 kB / 3.301 GB, free: 181.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/7.346, allocations: 3.938 kB / 3.301 GB, free: 181.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/7.346, allocations: 38.56 kB / 3.301 GB, free: 181.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/7.346, allocations: 0 / 3.301 GB, free: 181.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0005793/7.346, allocations: 235.4 kB / 3.302 GB, free: 181.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/7.346, allocations: 55.41 kB / 3.302 GB, free: 181.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/7.346, allocations: 258.7 kB / 3.302 GB, free: 181 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/7.346, allocations: 37.64 kB / 3.302 GB, free: 180.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/7.347, allocations: 188.2 kB / 3.302 GB, free: 180.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/7.347, allocations: 70.94 kB / 3.302 GB, free: 180.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/7.347, allocations: 11.94 kB / 3.302 GB, free: 180.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/7.347, allocations: 334.8 kB / 3.302 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/7.347, allocations: 75.86 kB / 3.303 GB, free: 180.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/7.347, allocations: 112 kB / 3.303 GB, free: 180.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/7.347, allocations: 81 kB / 3.303 GB, free: 180 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/7.347, allocations: 0 / 3.303 GB, free: 180 MB / 1.167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002976/7.347, allocations: 242.8 kB / 3.303 GB, free: 179.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/7.347, allocations: 8 kB / 3.303 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/7.347, allocations: 0 / 3.303 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/7.347, allocations: 7.953 kB / 3.303 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/7.348, allocations: 51.91 kB / 3.303 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/7.348, allocations: 4.188 kB / 3.303 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/7.348, allocations: 15.84 kB / 3.303 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/7.348, allocations: 12 kB / 3.303 GB, free: 179.7 MB / 1.167 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 () * 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 6.265e-05/7.348, allocations: 112.9 kB / 3.303 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/7.348, allocations: 35.62 kB / 3.303 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/7.348, allocations: 38.86 kB / 3.303 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/7.348, allocations: 8 kB / 3.303 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/7.348, allocations: 3.953 kB / 3.303 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/7.348, allocations: 3.984 kB / 3.303 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/7.349, allocations: 409.2 kB / 3.304 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/7.349, allocations: 0 / 3.304 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/7.349, allocations: 27.98 kB / 3.304 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/7.349, allocations: 40.83 kB / 3.304 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/7.349, allocations: 8 kB / 3.304 GB, free: 178.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008459/7.35, allocations: 1.405 MB / 3.305 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/7.35, allocations: 8.016 kB / 3.305 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/7.35, allocations: 390 kB / 3.305 GB, free: 177 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/7.35, allocations: 128.8 kB / 3.306 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/7.351, allocations: 7.953 kB / 3.306 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/7.351, allocations: 15.89 kB / 3.306 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/7.351, allocations: 11.98 kB / 3.306 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/7.351, allocations: 8 kB / 3.306 GB, free: 176.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001738/7.351, allocations: 218.1 kB / 3.306 GB, free: 176.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/7.351, allocations: 0 / 3.306 GB, free: 176.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005715/7.352, allocations: 155.8 kB / 3.306 GB, free: 176.5 MB / 1.167 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 () * 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.001336/7.353, allocations: 1.537 MB / 3.307 GB, free: 174.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002503/7.353, allocations: 157.3 kB / 3.308 GB, free: 174.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/7.353, allocations: 0 / 3.308 GB, free: 174.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/7.353, allocations: 202.5 kB / 3.308 GB, free: 174.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/7.354, allocations: 184.7 kB / 3.308 GB, free: 174.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/7.355, allocations: 0.6355 MB / 3.309 GB, free: 173.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/7.356, allocations: 0.804 MB / 3.309 GB, free: 172.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002229/7.356, allocations: 63.25 kB / 3.309 GB, free: 172.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/7.356, allocations: 107.4 kB / 3.31 GB, free: 172.7 MB / 1.167 GB Notification: Performance of SimCode: time 4e-07/7.356, allocations: 0 / 3.31 GB, free: 172.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/7.392, allocations: 22.25 MB / 3.331 GB, free: 150.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/7.393, allocations: 181.8 kB / 3.331 GB, free: 150.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/10.44, allocations: 0 / 3.331 GB, free: 150.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat