Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001564/0.001564, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001874/0.001874, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.178/1.178, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.47/1.47, allocations: 292.3 MB / 0.5486 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.001273/0.001273, allocations: 70.8 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1565, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002615/0.1591, allocations: 2.064 MB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.1626, allocations: 3.647 MB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.1627, allocations: 4 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.1629, allocations: 47.75 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1632, allocations: 103.3 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1635, allocations: 103.8 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.1638, allocations: 255.1 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1639, allocations: 52.36 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1641, allocations: 111.5 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1642, allocations: 115.5 kB / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1642, allocations: 16 kB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1644, allocations: 119.8 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.1645, allocations: 51.77 kB / 0.7895 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.1646, allocations: 99.39 kB / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.1648, allocations: 275.1 kB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1649, allocations: 0 / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1649, allocations: 0 / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1649, allocations: 0 / 0.7898 GB, free: 6.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009753/0.1659, allocations: 0.5839 MB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1659, allocations: 12.03 kB / 0.7904 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.1659, allocations: 38.73 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.166, allocations: 24.66 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1663, allocations: 275.6 kB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1664, allocations: 4.375 kB / 0.7908 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1664, allocations: 8.375 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.1668, allocations: 169.5 kB / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1668, allocations: 0 / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1669, allocations: 4 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1669, allocations: 4 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.1675, allocations: 194.5 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.1682, allocations: 492.3 kB / 0.7916 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.1686, allocations: 130.4 kB / 0.7917 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1689, allocations: 108.8 kB / 0.7918 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/0.1696, allocations: 0.5571 MB / 0.7924 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1697, allocations: 30.56 kB / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.1697, allocations: 0 / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001025/0.1707, allocations: 357.4 kB / 0.7927 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1707, allocations: 59.56 kB / 0.7928 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1709, allocations: 230.7 kB / 0.793 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.171, allocations: 33.64 kB / 0.793 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.171, allocations: 140 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.1711, allocations: 43.39 kB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.1712, allocations: 33.69 kB / 0.7932 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.1712, allocations: 326.8 kB / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.1715, allocations: 95.91 kB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.1718, allocations: 95.91 kB / 0.7937 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.1724, allocations: 196.7 kB / 0.7939 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1724, allocations: 0 / 0.7939 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006616/0.1731, allocations: 257.2 kB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1731, allocations: 4 kB / 0.7942 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1731, allocations: 3.938 kB / 0.7942 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.1731, allocations: 0 / 0.7942 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.1734, allocations: 55.88 kB / 0.7942 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1734, allocations: 3.938 kB / 0.7942 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.1736, allocations: 27.88 kB / 0.7943 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1737, allocations: 7.984 kB / 0.7943 GB, free: 1.855 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 (11): * Single equations (assignments): 11 * 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.325e-05/0.1738, allocations: 122.5 kB / 0.7944 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.1738, allocations: 31.72 kB / 0.7944 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/0.1746, allocations: 283 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.1746, allocations: 0 / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1746, allocations: 7.938 kB / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1746, allocations: 3.984 kB / 0.7947 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.1748, allocations: 273.5 kB / 0.795 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1748, allocations: 0 / 0.795 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.1751, allocations: 39.95 kB / 0.795 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1751, allocations: 0 / 0.795 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1751, allocations: 11.98 kB / 0.795 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1752, allocations: 4 kB / 0.795 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1752, allocations: 3.938 kB / 0.795 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.1759, allocations: 355 kB / 0.7954 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.1759, allocations: 116.7 kB / 0.7955 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.176, allocations: 4 kB / 0.7955 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1762, allocations: 27.95 kB / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.1763, allocations: 19.92 kB / 0.7955 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1763, allocations: 0 / 0.7955 GB, free: 496 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000111/0.1764, allocations: 178 kB / 0.7957 GB, free: 320 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1764, allocations: 0 / 0.7957 GB, free: 320 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002656/0.1767, allocations: 56 kB / 0.7957 GB, free: 264 kB / 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 (11): * Single equations (assignments): 11 * 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.0009883/0.1777, allocations: 0.9273 MB / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006442/0.1783, allocations: 219.8 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1784, allocations: 0 / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.1787, allocations: 115.8 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1791, allocations: 44.28 kB / 0.797 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.1822, allocations: 2.493 MB / 0.7994 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1825, allocations: 0.7392 MB / 0.8002 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.1826, allocations: 40.83 kB / 0.8002 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1827, allocations: 67.39 kB / 0.8003 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.1827, allocations: 0 / 0.8003 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3787/0.5615, allocations: 4.604 MB / 0.8048 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.5618, allocations: 231.2 kB / 0.805 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.832, allocations: 5.5 kB / 0.805 GB, free: 6.809 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)