Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001266/0.001266, allocations: 176.9 kB / 487.4 MB, free: 5.039 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.739/1.739, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 102.6 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.191e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2965, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9942/1.291, allocations: 148.8 MB / 1.351 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/1.291, allocations: 79.73 kB / 1.351 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002796/1.294, allocations: 0.9238 MB / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/1.294, allocations: 0 / 1.352 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.158e-06/1.294, allocations: 0.8438 kB / 1.352 GB, free: 33.75 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.0002784/1.294, allocations: 345.5 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.294, allocations: 16.75 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/1.294, allocations: 7.875 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/1.294, allocations: 191.8 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.294, allocations: 4.578 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.294, allocations: 3.875 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.197e-05/1.295, allocations: 33.83 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/1.295, allocations: 82.52 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.295, allocations: 3.938 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.295, allocations: 8.422 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.295, allocations: 0 / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/1.295, allocations: 0.6082 MB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/1.295, allocations: 172.9 kB / 1.354 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/1.295, allocations: 80.94 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/1.295, allocations: 75.28 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.295, allocations: 106.6 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/1.295, allocations: 4 kB / 1.354 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.1e-05/1.295, allocations: 34.88 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/1.295, allocations: 51.92 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.296, allocations: 115.6 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/1.296, allocations: 25.7 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/1.296, allocations: 107.2 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.296, allocations: 0.5625 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/1.296, allocations: 0 / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.296, allocations: 319.7 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/1.296, allocations: 3.875 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/1.296, allocations: 22.66 kB / 1.355 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.981e-05/1.296, allocations: 9.141 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.296, allocations: 0 / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.359e-05/1.296, allocations: 50.69 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.296, allocations: 17.86 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.296, allocations: 3.422 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.296, allocations: 0 / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/1.296, allocations: 4.766 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.296, allocations: 7.859 kB / 1.355 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/1.296, allocations: 0.75 kB / 1.355 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/1.296, allocations: 0 / 1.355 GB, free: 31.38 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 7.136e-05/1.296, allocations: 187.6 kB / 1.355 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.118e-05/1.296, allocations: 136.5 kB / 1.355 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/1.296, allocations: 117.2 kB / 1.355 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/1.296, allocations: 110.3 kB / 1.355 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/1.296, allocations: 177.1 kB / 1.355 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.797e-05/1.296, allocations: 180.7 kB / 1.356 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/1.297, allocations: 184.4 kB / 1.356 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/1.297, allocations: 399.9 kB / 1.356 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.297, allocations: 102.1 kB / 1.356 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/1.297, allocations: 110.1 kB / 1.356 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-05/1.297, allocations: 184.9 kB / 1.357 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/1.297, allocations: 177.1 kB / 1.357 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.911e-05/1.297, allocations: 184.8 kB / 1.357 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.024e-05/1.297, allocations: 188.8 kB / 1.357 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/1.297, allocations: 305 kB / 1.357 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/1.297, allocations: 183.2 kB / 1.358 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/1.297, allocations: 190.5 kB / 1.358 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/1.297, allocations: 105.5 kB / 1.358 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/1.297, allocations: 178 kB / 1.358 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/1.297, allocations: 108.8 kB / 1.358 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.006e-05/1.298, allocations: 94.89 kB / 1.358 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.298, allocations: 0 / 1.358 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002049/1.298, allocations: 11.75 kB / 1.358 GB, free: 27.73 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.0003263/1.298, allocations: 0.8111 MB / 1.359 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.74e-05/1.298, allocations: 11.59 kB / 1.359 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.298, allocations: 0 / 1.359 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/1.298, allocations: 0 / 1.359 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.298, allocations: 0.5282 MB / 1.36 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/1.299, allocations: 193.2 kB / 1.36 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/1.299, allocations: 0.6915 MB / 1.36 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.451e-05/1.299, allocations: 4.703 kB / 1.36 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/1.299, allocations: 19.58 kB / 1.36 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.299, allocations: 4 kB / 1.36 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/1.317, allocations: 0.7759 MB / 1.361 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.317, allocations: 151.7 kB / 1.361 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.81, allocations: 3.938 kB / 1.361 GB, free: 25.23 MB / 0.8386 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat does not exist to compare? outputFormat=mat