Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.413/1.413, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.0008724/0.0008723, allocations: 180.5 kB / 372.3 MB, free: 10.14 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.197/1.197, allocations: 205.4 MB / 0.631 GB, free: 9.938 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.0007078/0.0007078, allocations: 93.39 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 12.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001546/0.1531, allocations: 1.578 MB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.1559, allocations: 3.233 MB / 0.9849 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1561, allocations: 0 / 0.9849 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1563, allocations: 43.75 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.1568, allocations: 103.5 kB / 0.985 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.274e-05/0.1569, allocations: 31.95 kB / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1571, allocations: 159.2 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.1572, allocations: 25.69 kB / 0.9852 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1574, allocations: 71.69 kB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1575, allocations: 75.61 kB / 0.9854 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.1576, allocations: 4 kB / 0.9854 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.101e-05/0.1577, allocations: 19.98 kB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.1577, allocations: 31.84 kB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.1578, allocations: 89.31 kB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1579, allocations: 115.7 kB / 0.9856 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1579, allocations: 0 / 0.9856 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.158, allocations: 4 kB / 0.9856 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.158, allocations: 3.938 kB / 0.9856 GB, free: 21.65 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007406/0.1587, allocations: 494.5 kB / 0.9861 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1588, allocations: 8.031 kB / 0.9861 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.1588, allocations: 42.73 kB / 0.9862 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1589, allocations: 16.75 kB / 0.9862 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1592, allocations: 242.9 kB / 0.9864 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.1592, allocations: 4.312 kB / 0.9864 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1592, allocations: 4.375 kB / 0.9864 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1595, allocations: 157.4 kB / 0.9866 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1596, allocations: 0 / 0.9866 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1596, allocations: 0 / 0.9866 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.1596, allocations: 11.98 kB / 0.9866 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.16, allocations: 157.7 kB / 0.9867 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.1606, allocations: 456.4 kB / 0.9872 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1609, allocations: 174.4 kB / 0.9873 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.1611, allocations: 104.8 kB / 0.9874 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1612, allocations: 8 kB / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.1612, allocations: 34.56 kB / 0.9875 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1612, allocations: 0 / 0.9875 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007025/0.1619, allocations: 306.5 kB / 0.9878 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1619, allocations: 59.34 kB / 0.9878 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1621, allocations: 209 kB / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1621, allocations: 25.7 kB / 0.988 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.1622, allocations: 116.1 kB / 0.9882 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1622, allocations: 47.3 kB / 0.9882 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.1622, allocations: 0 / 0.9882 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.1623, allocations: 334.8 kB / 0.9885 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1625, allocations: 83.94 kB / 0.9886 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1627, allocations: 74.81 kB / 0.9887 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.163, allocations: 172.8 kB / 0.9888 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1631, allocations: 7.984 kB / 0.9888 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004252/0.1635, allocations: 221.3 kB / 0.9891 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1635, allocations: 4 kB / 0.9891 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1635, allocations: 4 kB / 0.9891 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1635, allocations: 0 / 0.9891 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.1638, allocations: 47.94 kB / 0.9891 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1638, allocations: 3.938 kB / 0.9891 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1639, allocations: 23.89 kB / 0.9891 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1639, allocations: 7.938 kB / 0.9891 GB, free: 17.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.562e-05/0.164, allocations: 125.8 kB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1641, allocations: 15.81 kB / 0.9893 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.1641, allocations: 29.83 kB / 0.9893 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1641, allocations: 4 kB / 0.9893 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1641, allocations: 0 / 0.9893 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1641, allocations: 3.938 kB / 0.9893 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1643, allocations: 269.3 kB / 0.9896 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1643, allocations: 0 / 0.9896 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.1645, allocations: 35.97 kB / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1646, allocations: 0 / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1646, allocations: 4 kB / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1646, allocations: 4 kB / 0.9896 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1646, allocations: 3.984 kB / 0.9896 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.165, allocations: 332 kB / 0.9899 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.1651, allocations: 108.8 kB / 0.99 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1652, allocations: 7.938 kB / 0.99 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1653, allocations: 19.97 kB / 0.9901 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.1654, allocations: 7.984 kB / 0.9901 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1654, allocations: 8 kB / 0.9901 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.1655, allocations: 160.4 kB / 0.9902 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1655, allocations: 0 / 0.9902 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002313/0.1657, allocations: 35.98 kB / 0.9903 GB, free: 16.6 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 (13): * Single equations (assignments): 13 * 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.0006317/0.1664, allocations: 0.8546 MB / 0.9911 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004213/0.1668, allocations: 179.9 kB / 0.9913 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1668, allocations: 4 kB / 0.9913 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.167, allocations: 95.88 kB / 0.9914 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1673, allocations: 32.58 kB / 0.9914 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.169, allocations: 1.277 MB / 0.9926 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.1691, allocations: 0.7314 MB / 0.9934 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.1693, allocations: 48.55 kB / 0.9934 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.1694, allocations: 47.41 kB / 0.9934 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1694, allocations: 4 kB / 0.9934 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4092/0.5785, allocations: 3.373 MB / 0.9967 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.5788, allocations: 209.6 kB / 0.9969 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.449, allocations: 0 / 0.9969 GB, free: 9.801 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)