Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.611/2.611, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001555/0.001555, allocations: 179.2 kB / 370.8 MB, free: 10.83 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.318/2.318, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001185/0.001184, allocations: 100.5 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.0006561, allocations: 17.11 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.225, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9387/1.164, allocations: 138.1 MB / 1.113 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.164, allocations: 81.33 kB / 1.113 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003601/1.168, allocations: 0.9064 MB / 1.114 GB, free: 31.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/1.168, allocations: 5.312 kB / 1.114 GB, free: 31.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.509e-05/1.168, allocations: 3.75 kB / 1.114 GB, free: 31.47 MB / 0.698 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.0004054/1.168, allocations: 350.2 kB / 1.114 GB, free: 31.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.168, allocations: 11.83 kB / 1.114 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/1.168, allocations: 39.45 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/1.168, allocations: 7.75 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/1.169, allocations: 198.1 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/1.169, allocations: 3.938 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/1.169, allocations: 3.875 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/1.169, allocations: 102.6 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.169, allocations: 3.984 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.169, allocations: 3.938 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.169, allocations: 3.812 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/1.169, allocations: 42.06 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000692/1.17, allocations: 0.6404 MB / 1.115 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/1.17, allocations: 169.1 kB / 1.116 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/1.17, allocations: 79.28 kB / 1.116 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/1.17, allocations: 112.4 kB / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.974e-06/1.17, allocations: 0 / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.121e-05/1.17, allocations: 35.11 kB / 1.116 GB, free: 29.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/1.17, allocations: 134.5 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/1.17, allocations: 153.3 kB / 1.116 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/1.17, allocations: 29.3 kB / 1.116 GB, free: 29.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/1.17, allocations: 106 kB / 1.116 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/1.17, allocations: 0 / 1.116 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/1.17, allocations: 3.938 kB / 1.116 GB, free: 29.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.171, allocations: 317.2 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/1.171, allocations: 3.938 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/1.171, allocations: 19.75 kB / 1.117 GB, free: 29.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/1.171, allocations: 13.03 kB / 1.117 GB, free: 29.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.171, allocations: 3.844 kB / 1.117 GB, free: 29.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001399/1.171, allocations: 58.38 kB / 1.117 GB, free: 29.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.171, allocations: 5.438 kB / 1.117 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.171, allocations: 0 / 1.117 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.171, allocations: 7.781 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/1.171, allocations: 3.844 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.171, allocations: 3.938 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/1.171, allocations: 5.094 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/1.171, allocations: 4 kB / 1.117 GB, free: 29.02 MB / 0.698 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.0001246/1.171, allocations: 195.8 kB / 1.117 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/1.171, allocations: 118 kB / 1.117 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/1.171, allocations: 114.1 kB / 1.117 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/1.172, allocations: 185.5 kB / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.957e-05/1.172, allocations: 180.3 kB / 1.117 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.037e-05/1.172, allocations: 185.5 kB / 1.118 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/1.172, allocations: 426.3 kB / 1.118 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/1.172, allocations: 105.8 kB / 1.118 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/1.172, allocations: 102.1 kB / 1.118 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.496e-05/1.172, allocations: 181.8 kB / 1.118 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/1.172, allocations: 188 kB / 1.119 GB, free: 27.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-05/1.172, allocations: 185.3 kB / 1.119 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.181e-05/1.172, allocations: 185.6 kB / 1.119 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/1.173, allocations: 310.5 kB / 1.119 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.173, allocations: 195.3 kB / 1.119 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/1.173, allocations: 181.7 kB / 1.12 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/1.173, allocations: 104.9 kB / 1.12 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/1.173, allocations: 177.8 kB / 1.12 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/1.173, allocations: 108.7 kB / 1.12 GB, free: 25.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001454/1.173, allocations: 128.2 kB / 1.12 GB, free: 25.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.593e-06/1.173, allocations: 0 / 1.12 GB, free: 25.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003042/1.174, allocations: 15.66 kB / 1.12 GB, free: 25.47 MB / 0.698 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.0004593/1.174, allocations: 0.8065 MB / 1.121 GB, free: 24.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/1.174, allocations: 11.62 kB / 1.121 GB, free: 24.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.174, allocations: 4.188 kB / 1.121 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/1.174, allocations: 0 / 1.121 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/1.175, allocations: 0.5241 MB / 1.121 GB, free: 24.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/1.176, allocations: 0.9237 MB / 1.122 GB, free: 23.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.176, allocations: 0.6951 MB / 1.123 GB, free: 22.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.04e-05/1.176, allocations: 6.938 kB / 1.123 GB, free: 22.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/1.176, allocations: 20.7 kB / 1.123 GB, free: 22.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/1.176, allocations: 0 / 1.123 GB, free: 22.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/1.195, allocations: 1.463 MB / 1.124 GB, free: 22.49 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.195, allocations: 198.5 kB / 1.125 GB, free: 22.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.567, allocations: 0 / 1.125 GB, free: 22.25 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)