Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.001076/0.001076, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0008866/0.0008865, allocations: 94.3 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006287/0.0006289, allocations: 15.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2434, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001662/0.2451, allocations: 1.242 MB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.2453, allocations: 35.73 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.2454, allocations: 0 / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2455, allocations: 7.922 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.2456, allocations: 15.92 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.2457, allocations: 15.98 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.2458, allocations: 43.84 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2459, allocations: 19.98 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.246, allocations: 15.92 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.246, allocations: 19.92 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2461, allocations: 4 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.2461, allocations: 4 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.2461, allocations: 11.92 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.2461, allocations: 33.7 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.173e-05/0.2462, allocations: 44.14 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2462, allocations: 0 / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2462, allocations: 0 / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2463, allocations: 0 / 0.9811 GB, free: 26.05 MB / 0.6198 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.0003425/0.2466, allocations: 355.1 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2467, allocations: 16.02 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.2467, allocations: 38.56 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.2467, allocations: 11.89 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2469, allocations: 186.9 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2469, allocations: 4 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.2469, allocations: 8 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2471, allocations: 98.7 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2471, allocations: 0 / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2471, allocations: 12 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2471, allocations: 3.984 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.28e-05/0.2472, allocations: 39.98 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.2477, allocations: 0.6478 MB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.902e-05/0.2478, allocations: 169.1 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.2478, allocations: 80.14 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2478, allocations: 79.28 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2478, allocations: 109.8 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2479, allocations: 4 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.901e-05/0.2479, allocations: 37.55 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.248, allocations: 126.7 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2481, allocations: 162.5 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.2481, allocations: 25.7 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.2482, allocations: 104 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.2482, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.2482, allocations: 0 / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.2483, allocations: 330.8 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.2483, allocations: 0 / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.2483, allocations: 22.58 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.2483, allocations: 7.953 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2483, allocations: 0 / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001085/0.2485, allocations: 61.59 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2485, allocations: 8 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2485, allocations: 7.938 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2485, allocations: 0 / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.2486, allocations: 4 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2486, allocations: 4 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.2486, allocations: 11.84 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.2486, allocations: 4 kB / 0.9838 GB, free: 23.06 MB / 0.6198 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 7.536e-05/0.2487, allocations: 198.5 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.2488, allocations: 117.8 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.2488, allocations: 116.8 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.2488, allocations: 176.3 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/0.2489, allocations: 180.2 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.2489, allocations: 184.3 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2491, allocations: 425.2 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.2491, allocations: 112.9 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.2491, allocations: 105.1 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.914e-05/0.2492, allocations: 180.2 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.2492, allocations: 180.3 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.718e-05/0.2492, allocations: 180.2 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-05/0.2493, allocations: 188.2 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.274e-05/0.2494, allocations: 307.7 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.2494, allocations: 194 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.2495, allocations: 176.3 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.2496, allocations: 108.9 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.2496, allocations: 180.3 kB / 0.9869 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2496, allocations: 108.9 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.306e-05/0.2497, allocations: 126.3 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2497, allocations: 0 / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002443/0.25, allocations: 8 kB / 0.9872 GB, free: 19.37 MB / 0.6198 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.0002666/0.2502, allocations: 0.8126 MB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.333e-05/0.2503, allocations: 11.92 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2503, allocations: 0 / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.2503, allocations: 8 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.2506, allocations: 0.5272 MB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.2514, allocations: 0.6302 MB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.2515, allocations: 0.6926 MB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.2515, allocations: 4 kB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.2516, allocations: 23.42 kB / 0.9898 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2516, allocations: 3.938 kB / 0.9898 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.2649, allocations: 1.473 MB / 0.9913 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.2651, allocations: 214.6 kB / 0.9915 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.964, allocations: 0 / 0.9915 GB, free: 14.99 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)