Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.409/1.409, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.0008685/0.0008686, allocations: 193.5 kB / 372.3 MB, free: 10.1 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.164/1.164, allocations: 205.4 MB / 0.631 GB, free: 9.84 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.000659/0.000659, allocations: 82.36 kB / 0.7444 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 11.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001668/0.1597, allocations: 1.582 MB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00288/0.1626, allocations: 3.236 MB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.1628, allocations: 4 kB / 0.9849 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.163, allocations: 39.75 kB / 0.9849 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.1634, allocations: 115.4 kB / 0.9851 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.47e-05/0.1634, allocations: 23.97 kB / 0.9851 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1636, allocations: 167.2 kB / 0.9852 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.1637, allocations: 29.67 kB / 0.9853 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1639, allocations: 75.69 kB / 0.9853 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.164, allocations: 75.62 kB / 0.9854 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1641, allocations: 8 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-05/0.1642, allocations: 23.97 kB / 0.9854 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1642, allocations: 35.84 kB / 0.9855 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.1643, allocations: 89.31 kB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1644, allocations: 111.7 kB / 0.9857 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1644, allocations: 4 kB / 0.9857 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1644, allocations: 0 / 0.9857 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1644, allocations: 0 / 0.9857 GB, free: 21.58 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.0007316/0.1652, allocations: 498.5 kB / 0.9861 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1652, allocations: 15.97 kB / 0.9862 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.1653, allocations: 38.73 kB / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.1653, allocations: 24.75 kB / 0.9862 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1656, allocations: 246.8 kB / 0.9865 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.1656, allocations: 4.375 kB / 0.9865 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1657, allocations: 4.375 kB / 0.9865 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.166, allocations: 153.5 kB / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.166, allocations: 0 / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.166, allocations: 4 kB / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.1661, allocations: 8 kB / 0.9866 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.1665, allocations: 159.8 kB / 0.9868 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.1671, allocations: 468.5 kB / 0.9872 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.1675, allocations: 182.4 kB / 0.9874 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.1677, allocations: 114.2 kB / 0.9875 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1677, allocations: 3.984 kB / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.1678, allocations: 34.56 kB / 0.9875 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1678, allocations: 4 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007877/0.1686, allocations: 313.7 kB / 0.9878 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.1686, allocations: 51.41 kB / 0.9879 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1688, allocations: 217 kB / 0.9881 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1688, allocations: 33.64 kB / 0.9881 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.1688, allocations: 124 kB / 0.9882 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1689, allocations: 43.39 kB / 0.9883 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/0.1689, allocations: 0 / 0.9883 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.1689, allocations: 334.8 kB / 0.9886 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.1692, allocations: 87.94 kB / 0.9887 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.1694, allocations: 83.19 kB / 0.9888 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.1699, allocations: 180.7 kB / 0.9889 GB, free: 18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1699, allocations: 0 / 0.9889 GB, free: 18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004953/0.1704, allocations: 233.3 kB / 0.9892 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1704, allocations: 4 kB / 0.9892 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1704, allocations: 3.938 kB / 0.9892 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1704, allocations: 7.938 kB / 0.9892 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.1707, allocations: 35.97 kB / 0.9892 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1707, allocations: 0 / 0.9892 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.1709, allocations: 23.97 kB / 0.9892 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.1709, allocations: 11.92 kB / 0.9892 GB, free: 17.68 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 8.445e-05/0.171, allocations: 125.8 kB / 0.9894 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.171, allocations: 23.72 kB / 0.9894 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.1711, allocations: 29.83 kB / 0.9894 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1711, allocations: 0 / 0.9894 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1711, allocations: 0 / 0.9894 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1711, allocations: 0 / 0.9894 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1713, allocations: 269.4 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1713, allocations: 4 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.1716, allocations: 43.91 kB / 0.9897 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1716, allocations: 4 kB / 0.9897 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1716, allocations: 7.984 kB / 0.9897 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1716, allocations: 0 / 0.9897 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1716, allocations: 0 / 0.9897 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.1721, allocations: 335.7 kB / 0.9901 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1722, allocations: 108.9 kB / 0.9902 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1722, allocations: 4 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1724, allocations: 23.98 kB / 0.9902 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.1725, allocations: 11.92 kB / 0.9902 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1725, allocations: 3.984 kB / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.1726, allocations: 160.4 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1726, allocations: 0 / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002578/0.1729, allocations: 32 kB / 0.9904 GB, free: 16.43 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.0006964/0.1736, allocations: 0.8702 MB / 0.9912 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.1741, allocations: 195.7 kB / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1741, allocations: 0 / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.1743, allocations: 107.9 kB / 0.9915 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1747, allocations: 34.03 kB / 0.9916 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.1766, allocations: 1.316 MB / 0.9928 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.1768, allocations: 0.7391 MB / 0.9936 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.1769, allocations: 48.59 kB / 0.9936 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.177, allocations: 48.91 kB / 0.9937 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.177, allocations: 0 / 0.9937 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2191/0.3961, allocations: 3.522 MB / 0.9971 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.3963, allocations: 212.9 kB / 0.9973 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.29, allocations: 6.594 kB / 0.9973 GB, free: 9.41 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)