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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001018/0.001018, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.298/1.298, allocations: 205.1 MB / 222 MB, free: 4.98 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.654/1.654, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001555/0.001555, allocations: 65.23 kB / 0.6709 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1739, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002765/0.1768, allocations: 1.977 MB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003337/0.1801, allocations: 3.41 MB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.1802, allocations: 4 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1804, allocations: 35.81 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1808, allocations: 119.4 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.775e-05/0.1808, allocations: 23.97 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.181, allocations: 179.2 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.1811, allocations: 29.66 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1812, allocations: 71.7 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1814, allocations: 79.62 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1814, allocations: 8 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.1815, allocations: 31.91 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1816, allocations: 35.83 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.1816, allocations: 71.55 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1818, allocations: 155.4 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1818, allocations: 4 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.62e-07/0.1818, allocations: 0 / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1818, allocations: 3.938 kB / 0.7889 GB, free: 7.625 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.0007677/0.1826, allocations: 0.4983 MB / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1827, allocations: 8.031 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.1827, allocations: 38.73 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1827, allocations: 20.75 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.1831, allocations: 242.8 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1831, allocations: 8.375 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1831, allocations: 4.375 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.1834, allocations: 145.4 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1835, allocations: 0 / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1835, allocations: 0 / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.1835, allocations: 15.97 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.184, allocations: 139.9 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.1846, allocations: 436.5 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.185, allocations: 170.4 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.1853, allocations: 100.8 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1853, allocations: 7.984 kB / 0.7906 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1853, allocations: 38.56 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.1853, allocations: 0 / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007936/0.1861, allocations: 270.5 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1862, allocations: 63.34 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1864, allocations: 209 kB / 0.7912 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1864, allocations: 25.7 kB / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.1865, allocations: 120.1 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.1865, allocations: 43.36 kB / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.1866, allocations: 33.7 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1867, allocations: 334.8 kB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1869, allocations: 72.19 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.1871, allocations: 75.94 kB / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.1876, allocations: 158.6 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1876, allocations: 0 / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005213/0.1881, allocations: 205.3 kB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1881, allocations: 4 kB / 0.7922 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1881, allocations: 3.938 kB / 0.7922 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1882, allocations: 11.94 kB / 0.7922 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.1884, allocations: 35.95 kB / 0.7923 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1884, allocations: 0 / 0.7923 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.1886, allocations: 11.98 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1886, allocations: 11.94 kB / 0.7923 GB, free: 3.895 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.724e-05/0.1887, allocations: 129.8 kB / 0.7924 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.1888, allocations: 15.81 kB / 0.7924 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1888, allocations: 29.83 kB / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1888, allocations: 7.938 kB / 0.7925 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1888, allocations: 0 / 0.7925 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1888, allocations: 0 / 0.7925 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.1891, allocations: 261.4 kB / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1891, allocations: 3.938 kB / 0.7927 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.1893, allocations: 31.97 kB / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1894, allocations: 0 / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1894, allocations: 8 kB / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1894, allocations: 4 kB / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1894, allocations: 0 / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.1899, allocations: 310 kB / 0.793 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.19, allocations: 112.8 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1901, allocations: 4 kB / 0.7932 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.1903, allocations: 19.92 kB / 0.7932 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1903, allocations: 15.97 kB / 0.7932 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1903, allocations: 4 kB / 0.7932 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001196/0.1905, allocations: 152.4 kB / 0.7933 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1905, allocations: 4 kB / 0.7933 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002704/0.1907, allocations: 39.92 kB / 0.7934 GB, free: 2.672 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.0008095/0.1916, allocations: 0.8372 MB / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.1921, allocations: 171.8 kB / 0.7944 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1921, allocations: 0 / 0.7944 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.1923, allocations: 99.11 kB / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1927, allocations: 32.59 kB / 0.7945 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.1956, allocations: 2.284 MB / 0.7967 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1959, allocations: 0.7313 MB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.196, allocations: 48.55 kB / 0.7975 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.545e-05/0.1961, allocations: 51.41 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.1961, allocations: 0 / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2196, allocations: 3.45 MB / 0.8009 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.2198, allocations: 220.7 kB / 0.8011 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.887, allocations: 0 / 0.8011 GB, free: 10.76 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)