Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.564/2.564, allocations: 390.5 MB / 398 MB, free: 10.95 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.001369/0.001369, allocations: 176.9 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.852/1.852, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001113/0.001113, allocations: 89.64 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.019e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4007, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.578, allocations: 149.6 MB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003965/1.579, allocations: 76.77 kB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004219/1.583, allocations: 0.9187 MB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.146e-06/1.583, allocations: 0 / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.76e-05/1.583, allocations: 4 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005478/1.584, allocations: 343.8 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/1.584, allocations: 12.47 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/1.584, allocations: 9.484 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/1.584, allocations: 187.2 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.584, allocations: 7.844 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/1.584, allocations: 13.12 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001365/1.584, allocations: 34.2 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.584, allocations: 81.92 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.584, allocations: 0 / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/1.584, allocations: 0 / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/1.584, allocations: 5.359 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007776/1.585, allocations: 0.6104 MB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/1.585, allocations: 173 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/1.585, allocations: 80.14 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/1.586, allocations: 75.28 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/1.586, allocations: 109.8 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/1.586, allocations: 0 / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001107/1.586, allocations: 30.98 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/1.586, allocations: 59.34 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/1.586, allocations: 115.5 kB / 1.361 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/1.586, allocations: 29.58 kB / 1.361 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/1.586, allocations: 109.8 kB / 1.361 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.586, allocations: 0 / 1.361 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.586, allocations: 0 / 1.361 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.586, allocations: 312.6 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/1.586, allocations: 6.875 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/1.586, allocations: 23.91 kB / 1.362 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/1.586, allocations: 7.125 kB / 1.362 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.586, allocations: 0 / 1.362 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001547/1.586, allocations: 55.64 kB / 1.362 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.586, allocations: 7.25 kB / 1.362 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.586, allocations: 0 / 1.362 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.587, allocations: 4.094 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/1.587, allocations: 5.047 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.587, allocations: 3.844 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/1.587, allocations: 2.625 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/1.587, allocations: 3.875 kB / 1.362 GB, free: 30.53 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001292/1.587, allocations: 177.4 kB / 1.362 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001055/1.587, allocations: 139.9 kB / 1.362 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/1.587, allocations: 108.7 kB / 1.362 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.743e-05/1.587, allocations: 120.9 kB / 1.362 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.061e-05/1.587, allocations: 177.7 kB / 1.363 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.194e-05/1.587, allocations: 180.1 kB / 1.363 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/1.587, allocations: 181.8 kB / 1.363 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/1.588, allocations: 398.7 kB / 1.363 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/1.588, allocations: 109.4 kB / 1.363 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/1.588, allocations: 110.4 kB / 1.364 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-05/1.588, allocations: 180.3 kB / 1.364 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.588, allocations: 177.8 kB / 1.364 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.77e-05/1.588, allocations: 180.2 kB / 1.364 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.517e-05/1.588, allocations: 181.6 kB / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/1.588, allocations: 307.9 kB / 1.365 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/1.589, allocations: 183.6 kB / 1.365 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.589, allocations: 187.9 kB / 1.365 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.589, allocations: 110.3 kB / 1.365 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.589, allocations: 181.2 kB / 1.365 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/1.589, allocations: 102.9 kB / 1.365 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.556e-05/1.589, allocations: 99.94 kB / 1.365 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.589, allocations: 3.938 kB / 1.365 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002727/1.589, allocations: 11.72 kB / 1.365 GB, free: 26.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005555/1.59, allocations: 0.806 MB / 1.366 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.011e-05/1.59, allocations: 7.75 kB / 1.366 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.59, allocations: 0 / 1.366 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/1.59, allocations: 3.938 kB / 1.366 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/1.59, allocations: 0.5262 MB / 1.367 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/1.591, allocations: 194.3 kB / 1.367 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/1.591, allocations: 0.6976 MB / 1.368 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.248e-05/1.591, allocations: 0 / 1.368 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/1.592, allocations: 17.98 kB / 1.368 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/1.592, allocations: 0 / 1.368 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/1.616, allocations: 0.7857 MB / 1.368 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003634/1.617, allocations: 153.4 kB / 1.368 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/3.496, allocations: 3.938 kB / 1.368 GB, free: 24.38 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat does not exist to compare? outputFormat=mat