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.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.211/1.211, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.523/1.523, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001293/0.001293, allocations: 71.11 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.17, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002801/0.1728, allocations: 1.928 MB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.176, allocations: 3.446 MB / 0.7887 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.1761, allocations: 0 / 0.7887 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1763, allocations: 55.61 kB / 0.7888 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1767, allocations: 131.3 kB / 0.7889 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.744e-05/0.1767, allocations: 19.97 kB / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1769, allocations: 175.2 kB / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.177, allocations: 29.67 kB / 0.7891 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1772, allocations: 95.56 kB / 0.7892 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1773, allocations: 83.61 kB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.1774, allocations: 8 kB / 0.7893 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.1774, allocations: 27.92 kB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1775, allocations: 43.84 kB / 0.7894 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.1776, allocations: 75.53 kB / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1778, allocations: 163.4 kB / 0.7896 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1778, allocations: 4 kB / 0.7896 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1778, allocations: 0 / 0.7896 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1778, allocations: 0 / 0.7896 GB, free: 7.094 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.0007687/0.1786, allocations: 0.5138 MB / 0.7901 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1786, allocations: 12.03 kB / 0.7901 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.1787, allocations: 38.69 kB / 0.7901 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.1787, allocations: 16.75 kB / 0.7902 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.179, allocations: 250.8 kB / 0.7904 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.179, allocations: 4.375 kB / 0.7904 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.179, allocations: 384 / 0.7904 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.1793, allocations: 145.5 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.1794, allocations: 0 / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1794, allocations: 4 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.1794, allocations: 15.92 kB / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.1798, allocations: 139.8 kB / 0.7907 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.1804, allocations: 456.5 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.1808, allocations: 182.4 kB / 0.7913 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.181, allocations: 100.8 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1811, allocations: 0 / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1811, allocations: 38.56 kB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 8.91e-07/0.1811, allocations: 0 / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007501/0.1819, allocations: 292.6 kB / 0.7917 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.1819, allocations: 59.41 kB / 0.7918 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1821, allocations: 213 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1821, allocations: 29.7 kB / 0.792 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.1822, allocations: 128 kB / 0.7921 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1822, allocations: 39.41 kB / 0.7922 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.1823, allocations: 37.69 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.1824, allocations: 330.8 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.1826, allocations: 75.88 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1828, allocations: 79.92 kB / 0.7927 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.1832, allocations: 160.8 kB / 0.7928 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1832, allocations: 0 / 0.7928 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00048/0.1837, allocations: 224.8 kB / 0.793 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1837, allocations: 4 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1837, allocations: 0 / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1837, allocations: 0 / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.184, allocations: 43.89 kB / 0.7931 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.184, allocations: 0 / 0.7931 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.1841, allocations: 19.92 kB / 0.7931 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1842, allocations: 7.938 kB / 0.7931 GB, free: 3.27 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 8.915e-05/0.1843, allocations: 126.5 kB / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.1843, allocations: 23.72 kB / 0.7932 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.1844, allocations: 29.83 kB / 0.7933 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1844, allocations: 0 / 0.7933 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1844, allocations: 0 / 0.7933 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1844, allocations: 0 / 0.7933 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.1846, allocations: 265.5 kB / 0.7935 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1846, allocations: 0 / 0.7935 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.1848, allocations: 43.83 kB / 0.7936 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1849, allocations: 4 kB / 0.7936 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1849, allocations: 4 kB / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1849, allocations: 0 / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1849, allocations: 0 / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.1854, allocations: 319.1 kB / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.1855, allocations: 112.8 kB / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1855, allocations: 0 / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1857, allocations: 19.97 kB / 0.794 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.1858, allocations: 11.98 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1858, allocations: 4 kB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001087/0.1859, allocations: 168.3 kB / 0.7942 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1859, allocations: 0 / 0.7942 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002511/0.1862, allocations: 40 kB / 0.7942 GB, free: 2.027 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.0007663/0.1869, allocations: 0.8527 MB / 0.795 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.1874, allocations: 199.7 kB / 0.7952 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1874, allocations: 0 / 0.7952 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.1877, allocations: 91.88 kB / 0.7953 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.188, allocations: 41.33 kB / 0.7954 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.1907, allocations: 2.311 MB / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.191, allocations: 0.7274 MB / 0.7983 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.1911, allocations: 52.58 kB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.1912, allocations: 55.41 kB / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.1912, allocations: 0 / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7469/0.9382, allocations: 3.851 MB / 0.8022 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.48, allocations: 19.03 kB / 0.8022 GB, free: 9.863 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)