Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.542/1.542, allocations: 288.4 MB / 303.6 MB, free: 8.152 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.0009066/0.0009065, allocations: 173.9 kB / 372.2 MB, free: 10.11 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.136/1.136, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006604/0.0006605, allocations: 96.55 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 16.72 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001542/0.1513, allocations: 1.664 MB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.1542, allocations: 3.451 MB / 0.9852 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1543, allocations: 4 kB / 0.9852 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1545, allocations: 35.77 kB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1548, allocations: 107.3 kB / 0.9853 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.155, allocations: 95.81 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1552, allocations: 219.1 kB / 0.9856 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.1553, allocations: 40.39 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1555, allocations: 95.61 kB / 0.9858 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1556, allocations: 111.5 kB / 0.9859 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1556, allocations: 8 kB / 0.9859 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.1558, allocations: 99.84 kB / 0.986 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.1558, allocations: 35.83 kB / 0.986 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.1559, allocations: 113.2 kB / 0.9861 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1561, allocations: 179.5 kB / 0.9863 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1561, allocations: 4 kB / 0.9863 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1561, allocations: 0 / 0.9863 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1561, allocations: 0 / 0.9863 GB, free: 20.95 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008672/0.157, allocations: 0.5803 MB / 0.9868 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.157, allocations: 8.031 kB / 0.9869 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.157, allocations: 42.75 kB / 0.9869 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.1571, allocations: 28.66 kB / 0.9869 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1574, allocations: 271.5 kB / 0.9872 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.1574, allocations: 8.375 kB / 0.9872 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1574, allocations: 12.36 kB / 0.9872 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.1579, allocations: 190.2 kB / 0.9874 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1579, allocations: 0 / 0.9874 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1579, allocations: 4 kB / 0.9874 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1579, allocations: 11.94 kB / 0.9874 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.1585, allocations: 231.8 kB / 0.9876 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.1592, allocations: 0.4925 MB / 0.9881 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.1595, allocations: 146.5 kB / 0.9882 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.1599, allocations: 128.8 kB / 0.9884 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/0.1605, allocations: 0.5727 MB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.1605, allocations: 42.5 kB / 0.989 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1606, allocations: 0 / 0.989 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001048/0.1616, allocations: 413.4 kB / 0.9894 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.1616, allocations: 59.28 kB / 0.9894 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1618, allocations: 234.7 kB / 0.9896 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1618, allocations: 25.7 kB / 0.9897 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.1619, allocations: 140 kB / 0.9898 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.1619, allocations: 35.47 kB / 0.9898 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.1619, allocations: 8 kB / 0.9898 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.1619, allocations: 330.8 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.1623, allocations: 115.9 kB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.1626, allocations: 119.8 kB / 0.9904 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.1632, allocations: 245.3 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1632, allocations: 0 / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006739/0.1639, allocations: 301.2 kB / 0.9909 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1639, allocations: 5.406 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1639, allocations: 0 / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1639, allocations: 4 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1642, allocations: 59.88 kB / 0.991 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1642, allocations: 3.938 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1644, allocations: 51.81 kB / 0.991 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1644, allocations: 3.984 kB / 0.991 GB, free: 15.75 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 (11): * Single equations (assignments): 11 * 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.494e-05/0.1645, allocations: 121.8 kB / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.1645, allocations: 19.81 kB / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.1653, allocations: 323.1 kB / 0.9915 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1653, allocations: 4 kB / 0.9915 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1653, allocations: 7.938 kB / 0.9915 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1653, allocations: 3.938 kB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1655, allocations: 269.4 kB / 0.9917 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1655, allocations: 3.984 kB / 0.9917 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.1658, allocations: 55.95 kB / 0.9918 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1658, allocations: 4 kB / 0.9918 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1658, allocations: 7.984 kB / 0.9918 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1658, allocations: 0 / 0.9918 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1658, allocations: 7.938 kB / 0.9918 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.1665, allocations: 391 kB / 0.9922 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1666, allocations: 120.7 kB / 0.9923 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1666, allocations: 4 kB / 0.9923 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1669, allocations: 39.91 kB / 0.9923 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.1669, allocations: 19.91 kB / 0.9924 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1669, allocations: 11.97 kB / 0.9924 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.167, allocations: 166 kB / 0.9925 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.167, allocations: 0 / 0.9925 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00025/0.1673, allocations: 55.94 kB / 0.9926 GB, free: 14.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 (11): * Single equations (assignments): 11 * 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.0008736/0.1682, allocations: 0.9581 MB / 0.9935 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006535/0.1688, allocations: 255.8 kB / 0.9938 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1689, allocations: 0 / 0.9938 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.1692, allocations: 144.5 kB / 0.9939 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1695, allocations: 36.34 kB / 0.9939 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1716, allocations: 1.485 MB / 0.9954 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.1717, allocations: 0.7314 MB / 0.9961 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.1718, allocations: 36.84 kB / 0.9961 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.1719, allocations: 67.41 kB / 0.9962 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.1719, allocations: 0 / 0.9962 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3672/0.5392, allocations: 4.402 MB / 1.001 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.5394, allocations: 225.1 kB / 1.001 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.235, allocations: 4 kB / 1.001 GB, free: 5.801 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)