Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001276/0.001275, allocations: 177 kB / 377.1 MB, free: 1.527 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.048/2.048, allocations: 205.4 MB / 0.6366 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008378/0.0008379, allocations: 83.73 kB / 0.7509 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 11.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9027/1.196, allocations: 139.3 MB / 1.124 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.196, allocations: 84.12 kB / 1.124 GB, free: 35.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002635/1.199, allocations: 0.9148 MB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.527e-06/1.199, allocations: 1.75 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.453e-05/1.199, allocations: 1.219 kB / 1.125 GB, free: 34.57 MB / 0.7292 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.0004017/1.199, allocations: 352.4 kB / 1.126 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.199, allocations: 16.56 kB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/1.2, allocations: 35.06 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/1.2, allocations: 11.88 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/1.2, allocations: 195 kB / 1.126 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.2, allocations: 3.938 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.2, allocations: 12 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/1.2, allocations: 96.91 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.2, allocations: 0.7031 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.2, allocations: 4 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.2, allocations: 4 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/1.2, allocations: 39.06 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/1.201, allocations: 0.6415 MB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/1.201, allocations: 169.8 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/1.201, allocations: 83.22 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/1.201, allocations: 112.2 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/1.201, allocations: 0 / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 9.313e-05/1.201, allocations: 33.61 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.201, allocations: 126.7 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/1.201, allocations: 158 kB / 1.127 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/1.201, allocations: 30.27 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/1.201, allocations: 115.4 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/1.201, allocations: 0 / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/1.201, allocations: 0 / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/1.202, allocations: 314.8 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/1.202, allocations: 7.609 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/1.202, allocations: 28.02 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/1.202, allocations: 8 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.202, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001387/1.202, allocations: 60.97 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.202, allocations: 4 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.202, allocations: 4.5 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.202, allocations: 0 / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/1.202, allocations: 4.562 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.202, allocations: 0 / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/1.202, allocations: 12.84 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.202, allocations: 3.938 kB / 1.128 GB, free: 31.79 MB / 0.7292 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 () * Number of clocked 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.0001055/1.202, allocations: 196.6 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/1.202, allocations: 120.8 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/1.202, allocations: 110.9 kB / 1.128 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/1.202, allocations: 184.2 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.57e-05/1.202, allocations: 180.3 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-05/1.202, allocations: 180.3 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/1.203, allocations: 428.9 kB / 1.129 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.203, allocations: 104.5 kB / 1.129 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/1.203, allocations: 104.9 kB / 1.129 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.129e-05/1.203, allocations: 176.7 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/1.203, allocations: 188.2 kB / 1.13 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.103e-05/1.203, allocations: 184.2 kB / 1.13 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.566e-05/1.203, allocations: 184.4 kB / 1.13 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/1.203, allocations: 307.7 kB / 1.13 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/1.203, allocations: 193.6 kB / 1.131 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/1.203, allocations: 184.9 kB / 1.131 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/1.203, allocations: 104.9 kB / 1.131 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/1.203, allocations: 180.2 kB / 1.131 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/1.203, allocations: 106.5 kB / 1.131 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.773e-05/1.203, allocations: 129.4 kB / 1.131 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/1.203, allocations: 4 kB / 1.131 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002553/1.204, allocations: 8 kB / 1.131 GB, free: 28.13 MB / 0.7292 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 () * Number of clocked 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.0003494/1.204, allocations: 0.8127 MB / 1.132 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.274e-05/1.204, allocations: 12.06 kB / 1.132 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.204, allocations: 0 / 1.132 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.204, allocations: 0 / 1.132 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/1.204, allocations: 0.5307 MB / 1.133 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/1.205, allocations: 0.9212 MB / 1.134 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/1.206, allocations: 0.6952 MB / 1.134 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.534e-05/1.206, allocations: 7.516 kB / 1.134 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/1.206, allocations: 24 kB / 1.134 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.206, allocations: 0 / 1.134 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/1.221, allocations: 1.451 MB / 1.136 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.221, allocations: 186.4 kB / 1.136 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/3.177, allocations: 0 / 1.136 GB, free: 24.06 MB / 0.7292 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)