Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.567/1.567, allocations: 287.4 MB / 302.5 MB, free: 8.34 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.001222/0.001222, allocations: 182.6 kB / 371.1 MB, free: 10.81 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.273/1.273, allocations: 205.4 MB / 0.6298 GB, free: 10.5 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.0007097/0.0007097, allocations: 93.83 kB / 0.7431 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003392, allocations: 11.75 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1651, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001625/0.1668, allocations: 1.573 MB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.1696, allocations: 3.226 MB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.562e-05/0.1697, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1699, allocations: 47.75 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1703, allocations: 111.4 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.717e-05/0.1704, allocations: 23.97 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1706, allocations: 159.2 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.1707, allocations: 29.66 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1708, allocations: 63.72 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1709, allocations: 83.61 kB / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.171, allocations: 8 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.1711, allocations: 19.98 kB / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.1711, allocations: 27.84 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.1711, allocations: 53.58 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1713, allocations: 111.7 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1713, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1713, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1713, allocations: 0 / 0.9841 GB, free: 22.52 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.0006461/0.1719, allocations: 498.5 kB / 0.9846 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.172, allocations: 8.031 kB / 0.9846 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.172, allocations: 42.73 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.172, allocations: 16.75 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1723, allocations: 242.9 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1723, allocations: 4.375 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1724, allocations: 4.375 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1727, allocations: 159.9 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1727, allocations: 7.984 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1727, allocations: 0 / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1727, allocations: 11.98 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.1731, allocations: 151.9 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.1737, allocations: 460.3 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.174, allocations: 168.3 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1742, allocations: 108.8 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1742, allocations: 4 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.1743, allocations: 30.56 kB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.1743, allocations: 0 / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007233/0.175, allocations: 313.7 kB / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.175, allocations: 51.41 kB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1752, allocations: 209 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1752, allocations: 29.7 kB / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.1752, allocations: 116.1 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1753, allocations: 47.3 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.1753, allocations: 4 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.1753, allocations: 338.8 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.1755, allocations: 75.94 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.1757, allocations: 76.56 kB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.1761, allocations: 173.5 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1761, allocations: 0 / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004322/0.1766, allocations: 227.5 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1766, allocations: 4 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1766, allocations: 4 kB / 0.9876 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1766, allocations: 0 / 0.9876 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1768, allocations: 43.95 kB / 0.9876 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1768, allocations: 0 / 0.9876 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.177, allocations: 23.89 kB / 0.9876 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.177, allocations: 7.938 kB / 0.9876 GB, free: 18.71 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.413e-05/0.1771, allocations: 137.8 kB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1771, allocations: 19.75 kB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1772, allocations: 25.83 kB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1772, allocations: 4 kB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1772, allocations: 0 / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1772, allocations: 0 / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1774, allocations: 269.3 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1774, allocations: 0 / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.1776, allocations: 43.97 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1776, allocations: 0 / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1776, allocations: 4 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1776, allocations: 0 / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1776, allocations: 3.984 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.1781, allocations: 327.1 kB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.1782, allocations: 104.8 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1782, allocations: 0 / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1784, allocations: 27.97 kB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.1784, allocations: 7.984 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1784, allocations: 4 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.643e-05/0.1785, allocations: 164.4 kB / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1785, allocations: 0 / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002379/0.1788, allocations: 32 kB / 0.9887 GB, free: 17.47 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.0006274/0.1794, allocations: 0.8652 MB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.1799, allocations: 180.9 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1799, allocations: 0 / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1801, allocations: 103.9 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1804, allocations: 26.83 kB / 0.9899 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1821, allocations: 1.282 MB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.1822, allocations: 0.7352 MB / 0.9919 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000169/0.1824, allocations: 48.58 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.1825, allocations: 55.41 kB / 0.992 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1825, allocations: 0 / 0.992 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2698/0.4523, allocations: 3.359 MB / 0.9952 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.4525, allocations: 208.3 kB / 0.9954 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.595, allocations: 2.5 kB / 0.9954 GB, free: 10.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)