Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001009/0.001009, 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.001036/0.001036, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.287/1.287, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.639/1.639, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001219/0.001219, allocations: 74.34 kB / 0.6711 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1653, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00296/0.1683, allocations: 2.197 MB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.1718, allocations: 3.749 MB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.1718, allocations: 4 kB / 0.7888 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1721, allocations: 47.73 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1724, allocations: 111.3 kB / 0.7889 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1726, allocations: 139.7 kB / 0.7891 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.1729, allocations: 306.9 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.173, allocations: 60.69 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1732, allocations: 135.5 kB / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1734, allocations: 143.4 kB / 0.7897 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.1734, allocations: 23.94 kB / 0.7897 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.1736, allocations: 131.8 kB / 0.7898 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1737, allocations: 59.75 kB / 0.7899 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.1738, allocations: 123.2 kB / 0.79 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1741, allocations: 334.9 kB / 0.7903 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1741, allocations: 4 kB / 0.7903 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1741, allocations: 0 / 0.7903 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1741, allocations: 0 / 0.7903 GB, free: 6.254 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001049/0.1752, allocations: 0.6308 MB / 0.7909 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1752, allocations: 8.031 kB / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.1752, allocations: 42.73 kB / 0.791 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/0.1761, allocations: 168.4 kB / 0.7912 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.1767, allocations: 328.2 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1767, allocations: 12.31 kB / 0.7915 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1767, allocations: 8 kB / 0.7915 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.1773, allocations: 222.2 kB / 0.7917 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1773, allocations: 7.922 kB / 0.7917 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1774, allocations: 8 kB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1774, allocations: 0 / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.1783, allocations: 279.7 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1793, allocations: 0.5823 MB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1798, allocations: 174.4 kB / 0.7927 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.1803, allocations: 156.7 kB / 0.7929 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007355/0.181, allocations: 0.5454 MB / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1811, allocations: 34.56 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1811, allocations: 0 / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001477/0.1825, allocations: 485.2 kB / 0.7939 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1826, allocations: 59.39 kB / 0.7939 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1828, allocations: 264.5 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1828, allocations: 29.7 kB / 0.7942 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.1829, allocations: 156 kB / 0.7944 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.1829, allocations: 43.25 kB / 0.7944 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.183, allocations: 41.69 kB / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.1831, allocations: 338.8 kB / 0.7948 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.1836, allocations: 147.9 kB / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.184, allocations: 147.9 kB / 0.7951 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008734/0.1849, allocations: 295.1 kB / 0.7953 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1849, allocations: 0 / 0.7953 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009935/0.1859, allocations: 365 kB / 0.7957 GB, free: 424 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.186, allocations: 4 kB / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.186, allocations: 0 / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.186, allocations: 0 / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.1864, allocations: 75.8 kB / 0.7958 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1864, allocations: 3.984 kB / 0.7958 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.1867, allocations: 51.73 kB / 0.7958 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.1867, allocations: 11.92 kB / 0.7958 GB, free: 276 kB / 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 (17): * Single equations (assignments): 17 * 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 0.0001018/0.1868, allocations: 130.5 kB / 0.796 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.1869, allocations: 27.62 kB / 0.796 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.188, allocations: 379.2 kB / 0.7963 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.188, allocations: 4 kB / 0.7964 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.188, allocations: 4 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.188, allocations: 3.938 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.1883, allocations: 297.5 kB / 0.7966 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1883, allocations: 0 / 0.7966 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.1886, allocations: 55.92 kB / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1886, allocations: 0 / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.1887, allocations: 11.98 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1887, allocations: 0 / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1887, allocations: 7.938 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009979/0.1897, allocations: 450.6 kB / 0.7971 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.1898, allocations: 120.7 kB / 0.7973 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1898, allocations: 8 kB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.1902, allocations: 39.94 kB / 0.7973 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1902, allocations: 19.92 kB / 0.7973 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1902, allocations: 7.984 kB / 0.7973 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001288/0.1904, allocations: 187.1 kB / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1904, allocations: 0 / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002837/0.1907, allocations: 60 kB / 0.7976 GB, free: 14.39 MB / 0.6231 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.001281/0.192, allocations: 1.013 MB / 0.7986 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009765/0.1929, allocations: 338 kB / 0.7989 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.193, allocations: 0 / 0.7989 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.1934, allocations: 163.8 kB / 0.799 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1938, allocations: 44.5 kB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.1981, allocations: 2.952 MB / 0.802 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1983, allocations: 0.7474 MB / 0.8027 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.1986, allocations: 49.38 kB / 0.8027 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1987, allocations: 79.39 kB / 0.8028 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.1987, allocations: 0 / 0.8028 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/1.244, allocations: 5.424 MB / 0.8081 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/1.244, allocations: 228 kB / 0.8083 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/3.082, allocations: 0 / 0.8083 GB, free: 3.402 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)