Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.00141/0.00141, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001596/0.001596, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.293/1.293, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.637/1.637, 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.001247/0.001247, allocations: 64.25 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1617, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002803/0.1645, allocations: 1.967 MB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003338/0.1679, allocations: 3.414 MB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.168, allocations: 0 / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1683, allocations: 39.8 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.1687, allocations: 123.4 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.024e-05/0.1687, allocations: 23.97 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1689, allocations: 167.2 kB / 0.7886 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.169, allocations: 25.69 kB / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1692, allocations: 83.62 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1693, allocations: 75.69 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1693, allocations: 12 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.1694, allocations: 27.92 kB / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.1695, allocations: 35.83 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.739e-05/0.1695, allocations: 75.55 kB / 0.7889 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1697, allocations: 171.2 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1698, allocations: 0 / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1698, allocations: 4 kB / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1698, allocations: 0 / 0.7891 GB, free: 7.543 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.0007184/0.1705, allocations: 0.4905 MB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1705, allocations: 12.03 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1706, allocations: 38.73 kB / 0.7896 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1706, allocations: 16.75 kB / 0.7896 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1709, allocations: 250.8 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1709, allocations: 4.375 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1709, allocations: 8.312 kB / 0.7898 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.1713, allocations: 145.4 kB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1713, allocations: 0 / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1713, allocations: 0 / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.1713, allocations: 11.98 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.1717, allocations: 139.9 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.1723, allocations: 444.5 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.1727, allocations: 162.5 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.1729, allocations: 104.7 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1729, allocations: 4 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1729, allocations: 30.81 kB / 0.7908 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.1729, allocations: 4 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007308/0.1737, allocations: 289.3 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.1737, allocations: 51.41 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1739, allocations: 205 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1739, allocations: 29.7 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.174, allocations: 124 kB / 0.7915 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.174, allocations: 39.38 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.1741, allocations: 33.69 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.1742, allocations: 334.8 kB / 0.7919 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1744, allocations: 71.94 kB / 0.792 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.1746, allocations: 71.94 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.175, allocations: 164 kB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.175, allocations: 0 / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004518/0.1754, allocations: 197.3 kB / 0.7924 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1755, allocations: 15.98 kB / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1755, allocations: 0 / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.1755, allocations: 0 / 0.7924 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1757, allocations: 35.97 kB / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1757, allocations: 0 / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.1759, allocations: 23.89 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1759, allocations: 11.92 kB / 0.7925 GB, free: 3.812 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.256e-05/0.176, allocations: 138.4 kB / 0.7926 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.176, allocations: 15.81 kB / 0.7926 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.1761, allocations: 25.83 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1761, allocations: 4 kB / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1761, allocations: 0 / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1761, allocations: 3.938 kB / 0.7926 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1763, allocations: 265.4 kB / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1764, allocations: 0 / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.1766, allocations: 31.97 kB / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1766, allocations: 4 kB / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1766, allocations: 3.984 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1766, allocations: 0 / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1766, allocations: 0 / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.1771, allocations: 319.1 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.1772, allocations: 104.8 kB / 0.7933 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.1772, allocations: 7.984 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1774, allocations: 11.98 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1774, allocations: 11.98 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1774, allocations: 7.938 kB / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001094/0.1776, allocations: 160.4 kB / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1776, allocations: 0 / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002612/0.1778, allocations: 39.94 kB / 0.7936 GB, free: 2.586 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.0007314/0.1786, allocations: 0.842 MB / 0.7944 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.179, allocations: 187.3 kB / 0.7946 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.179, allocations: 0 / 0.7946 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.1793, allocations: 91.92 kB / 0.7947 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1796, allocations: 24.66 kB / 0.7947 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.1822, allocations: 2.287 MB / 0.7969 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1824, allocations: 0.7275 MB / 0.7976 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.1826, allocations: 52.58 kB / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.1827, allocations: 51.41 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1827, allocations: 4 kB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.066/1.249, allocations: 3.534 MB / 0.8012 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.249, allocations: 221 kB / 0.8014 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/3.061, allocations: 5 kB / 0.8014 GB, free: 10.59 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)