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.635/2.635, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001341/0.001341, allocations: 166.1 kB / 371 MB, free: 10.88 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.257/2.257, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009137/0.0009132, allocations: 97.27 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006738/0.0006742, allocations: 16.94 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2231, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001847/0.225, allocations: 1.234 MB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.2252, allocations: 23.92 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.2252, allocations: 0 / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2254, allocations: 15.92 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.2254, allocations: 7.938 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.2255, allocations: 19.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.72e-05/0.2256, allocations: 39.84 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2257, allocations: 23.98 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.2258, allocations: 15.92 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.2259, allocations: 15.92 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2259, allocations: 4 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.2259, allocations: 4 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.226, allocations: 19.91 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.226, allocations: 37.64 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.744e-05/0.2261, allocations: 40.16 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2261, allocations: 3.984 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2261, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2261, allocations: 0 / 0.9799 GB, free: 26.74 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.0003675/0.2265, allocations: 347.2 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2266, allocations: 20.02 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.2266, allocations: 38.55 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.2266, allocations: 11.86 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2268, allocations: 179 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2268, allocations: 4 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2269, allocations: 7.938 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2271, allocations: 108.1 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2271, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2271, allocations: 4 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.2271, allocations: 0 / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2272, allocations: 47.91 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.2278, allocations: 0.6439 MB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/0.2279, allocations: 169.1 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.2279, allocations: 84.14 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.2279, allocations: 75.28 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.228, allocations: 109.8 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.228, allocations: 4 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.265e-05/0.2281, allocations: 33.61 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2281, allocations: 126.7 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.2283, allocations: 166.5 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.2283, allocations: 25.7 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.2284, allocations: 100 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2284, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2284, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.2285, allocations: 330.8 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.2285, allocations: 4 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.2285, allocations: 18.58 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.447e-05/0.2286, allocations: 11.94 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2286, allocations: 4 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001371/0.2287, allocations: 61.56 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2288, allocations: 4 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2288, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2288, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.2289, allocations: 8 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2289, allocations: 0 / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.229, allocations: 11.83 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.229, allocations: 4.094 kB / 0.9826 GB, free: 23.76 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 8.03e-05/0.2291, allocations: 193.1 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.2291, allocations: 121.8 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.2292, allocations: 116.8 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/0.2292, allocations: 176.3 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-05/0.2293, allocations: 188.1 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.235e-05/0.2293, allocations: 176.3 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.2295, allocations: 433.1 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/0.2296, allocations: 109 kB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.2296, allocations: 105.1 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.563e-05/0.2296, allocations: 184.2 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.2297, allocations: 184.3 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-05/0.2297, allocations: 188.1 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.698e-05/0.2298, allocations: 184.3 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.843e-05/0.2299, allocations: 311.7 kB / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.23, allocations: 186 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.23, allocations: 180.2 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.2301, allocations: 105 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.2302, allocations: 188.2 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.2302, allocations: 104.9 kB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001181/0.2304, allocations: 131.9 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2304, allocations: 0 / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003038/0.2307, allocations: 4 kB / 0.986 GB, free: 20.05 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.0003271/0.231, allocations: 0.8125 MB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.2311, allocations: 11.94 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2311, allocations: 0 / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.2311, allocations: 0 / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.2315, allocations: 0.5284 MB / 0.9873 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.2325, allocations: 0.631 MB / 0.9879 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.2327, allocations: 0.6926 MB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.2327, allocations: 4 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.2328, allocations: 23.42 kB / 0.9886 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.2328, allocations: 0 / 0.9886 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.252, allocations: 1.464 MB / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.2522, allocations: 202.1 kB / 0.9903 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/2.674, allocations: 0 / 0.9903 GB, free: 15.66 MB / 0.6198 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)