Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 195.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.485/1.485, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 69.89 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00264/0.1633, allocations: 1.99 MB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.1665, allocations: 3.402 MB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.1666, allocations: 3.938 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1668, allocations: 47.81 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1672, allocations: 123.4 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.833e-05/0.1673, allocations: 19.97 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1674, allocations: 187.2 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.1675, allocations: 29.67 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1677, allocations: 75.69 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1678, allocations: 83.55 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1679, allocations: 12 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.1679, allocations: 31.97 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.168, allocations: 31.84 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.1681, allocations: 71.48 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1682, allocations: 167.3 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1683, allocations: 0 / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1683, allocations: 0 / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1683, allocations: 0 / 0.7889 GB, free: 7.617 MB / 0.6075 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.0007454/0.169, allocations: 0.51 MB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1691, allocations: 12.03 kB / 0.7894 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.1691, allocations: 38.73 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1691, allocations: 16.75 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1694, allocations: 250.8 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.1695, allocations: 8.312 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1695, allocations: 384 / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.1698, allocations: 145.5 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1698, allocations: 0 / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1698, allocations: 4 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.1699, allocations: 8 kB / 0.7899 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.1702, allocations: 143.8 kB / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.1709, allocations: 460.4 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.1712, allocations: 174.5 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.1715, allocations: 104.8 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1715, allocations: 0 / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.1715, allocations: 34.56 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.1715, allocations: 7.938 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007059/0.1722, allocations: 289.4 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1723, allocations: 55.41 kB / 0.7911 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1724, allocations: 221 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1724, allocations: 25.7 kB / 0.7913 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.1725, allocations: 124 kB / 0.7914 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.1725, allocations: 39.44 kB / 0.7915 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.1726, allocations: 41.7 kB / 0.7915 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.1727, allocations: 334.8 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1729, allocations: 75.94 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1731, allocations: 71.94 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.1735, allocations: 160.7 kB / 0.7921 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1735, allocations: 4 kB / 0.7921 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004532/0.174, allocations: 225.2 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.174, allocations: 4 kB / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.174, allocations: 0 / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.174, allocations: 0 / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1742, allocations: 35.97 kB / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1743, allocations: 0 / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.1744, allocations: 19.92 kB / 0.7924 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.1744, allocations: 7.922 kB / 0.7924 GB, free: 3.801 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.1745, allocations: 130.4 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.1746, allocations: 27.7 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.1746, allocations: 21.84 kB / 0.7926 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1746, allocations: 4 kB / 0.7926 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1746, allocations: 0 / 0.7926 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1746, allocations: 3.984 kB / 0.7926 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1749, allocations: 261.5 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.1749, allocations: 8 kB / 0.7928 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1751, allocations: 35.97 kB / 0.7929 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1751, allocations: 3.938 kB / 0.7929 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1751, allocations: 3.984 kB / 0.7929 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1751, allocations: 0 / 0.7929 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1751, allocations: 0 / 0.7929 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.1756, allocations: 326.1 kB / 0.7932 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.1757, allocations: 116.8 kB / 0.7933 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.1757, allocations: 3.938 kB / 0.7933 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.1759, allocations: 19.98 kB / 0.7933 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.176, allocations: 7.984 kB / 0.7933 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.176, allocations: 7.984 kB / 0.7933 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000108/0.1761, allocations: 160.4 kB / 0.7935 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1761, allocations: 0 / 0.7935 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002415/0.1764, allocations: 40 kB / 0.7935 GB, free: 2.551 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007084/0.1771, allocations: 0.8527 MB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.1775, allocations: 175.9 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1775, allocations: 0 / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.1777, allocations: 95.86 kB / 0.7946 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1781, allocations: 32.34 kB / 0.7947 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.1807, allocations: 2.353 MB / 0.797 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1809, allocations: 0.7392 MB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.181, allocations: 48.59 kB / 0.7977 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.1811, allocations: 51.41 kB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.1811, allocations: 0 / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.128/1.309, allocations: 3.597 MB / 0.8013 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.309, allocations: 214.6 kB / 0.8015 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.905, allocations: 0 / 0.8015 GB, free: 10.41 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)