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.669/1.669, allocations: 288.2 MB / 303.2 MB, free: 8.121 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.001243/0.001243, allocations: 177 kB / 371.8 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 2.051/2.051, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009733/0.0009733, allocations: 103.5 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006054/0.0006055, allocations: 12.41 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2819, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001598/0.2836, allocations: 1.23 MB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.2837, allocations: 35.84 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.2837, allocations: 3.938 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2839, allocations: 11.92 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.148e-05/0.2839, allocations: 11.98 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.793e-05/0.284, allocations: 15.98 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.447e-05/0.2841, allocations: 27.91 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2842, allocations: 27.97 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.2843, allocations: 15.94 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.2844, allocations: 19.92 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.2844, allocations: 0 / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2844, allocations: 0 / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.2844, allocations: 19.92 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.2845, allocations: 33.7 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.338e-05/0.2845, allocations: 48.12 kB / 0.9809 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.2846, allocations: 0 / 0.9809 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2846, allocations: 0 / 0.9809 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2846, allocations: 3.938 kB / 0.9809 GB, free: 26.07 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.0003464/0.2849, allocations: 347.2 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.285, allocations: 16.02 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.285, allocations: 42.55 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.2851, allocations: 7.844 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2852, allocations: 190.9 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2852, allocations: 0 / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2853, allocations: 4 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.2854, allocations: 105.9 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2854, allocations: 0 / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2855, allocations: 4 kB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2855, allocations: 4 kB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.2855, allocations: 43.91 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.286, allocations: 0.6439 MB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.2861, allocations: 173.1 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2861, allocations: 75.28 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2861, allocations: 105.8 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.051e-06/0.2861, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.725e-05/0.2862, allocations: 41.55 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.2863, allocations: 126.7 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2864, allocations: 169.1 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.2864, allocations: 25.7 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.2865, allocations: 100 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.2865, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.2865, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.2866, allocations: 322.8 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.2866, allocations: 8 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.2866, allocations: 22.52 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.2866, allocations: 12 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2866, allocations: 3.953 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/0.2868, allocations: 57.53 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2868, allocations: 4.094 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2868, allocations: 4 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2868, allocations: 0 / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.2869, allocations: 11.94 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2869, allocations: 0 / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.2869, allocations: 11.83 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.2869, allocations: 7.938 kB / 0.9835 GB, free: 23.18 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.988e-05/0.287, allocations: 189.1 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.2871, allocations: 112.8 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.2871, allocations: 125.8 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.2872, allocations: 176.3 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-05/0.2872, allocations: 188.2 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/0.2872, allocations: 176.3 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2874, allocations: 421.2 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.2874, allocations: 108.9 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.2875, allocations: 108.9 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.261e-05/0.2875, allocations: 180.2 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.2875, allocations: 184.5 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.183e-05/0.2876, allocations: 180.3 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.515e-05/0.2876, allocations: 188.2 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.037e-05/0.2877, allocations: 315.7 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.2878, allocations: 182.1 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.2878, allocations: 180.2 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.2879, allocations: 108.9 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.2879, allocations: 188.2 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.288, allocations: 104.9 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.301e-05/0.288, allocations: 125.9 kB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.288, allocations: 0 / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000243/0.2883, allocations: 8 kB / 0.9869 GB, free: 19.48 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.0002678/0.2886, allocations: 0.8087 MB / 0.9877 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.054e-05/0.2886, allocations: 15.94 kB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2887, allocations: 0 / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.2887, allocations: 0 / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2889, allocations: 0.5265 MB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.2897, allocations: 0.9328 MB / 0.9891 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.2898, allocations: 0.7005 MB / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.2898, allocations: 7.984 kB / 0.9898 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2899, allocations: 15.44 kB / 0.9898 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2899, allocations: 3.938 kB / 0.9899 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.3016, allocations: 1.465 MB / 0.9913 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.3019, allocations: 206.7 kB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.117, allocations: 0 / 0.9915 GB, free: 14.8 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)