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.001304/0.001304, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007634/0.007634, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.684/1.684, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004515/0.0004515, allocations: 11.97 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.169, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001987/0.171, allocations: 1.846 MB / 0.7898 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.1745, allocations: 3.714 MB / 0.7934 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.1746, allocations: 3.938 kB / 0.7934 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1748, allocations: 43.75 kB / 0.7935 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1751, allocations: 119.2 kB / 0.7936 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1754, allocations: 119.8 kB / 0.7937 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1757, allocations: 294.9 kB / 0.794 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1758, allocations: 60.69 kB / 0.794 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.176, allocations: 119.5 kB / 0.7942 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1761, allocations: 127.4 kB / 0.7943 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1762, allocations: 12 kB / 0.7943 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1764, allocations: 123.8 kB / 0.7944 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.1764, allocations: 43.77 kB / 0.7944 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1766, allocations: 137 kB / 0.7946 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.1769, allocations: 326.7 kB / 0.7949 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1769, allocations: 4 kB / 0.7949 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1769, allocations: 0 / 0.7949 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1769, allocations: 0 / 0.7949 GB, free: 4.379 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.001069/0.178, allocations: 0.6271 MB / 0.7955 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.178, allocations: 12.03 kB / 0.7955 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1781, allocations: 34.75 kB / 0.7956 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/0.179, allocations: 156.5 kB / 0.7957 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.1796, allocations: 336.1 kB / 0.796 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1797, allocations: 16.31 kB / 0.796 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.1797, allocations: 12 kB / 0.796 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.1804, allocations: 251.9 kB / 0.7963 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1804, allocations: 0 / 0.7963 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1804, allocations: 0 / 0.7963 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1804, allocations: 7.984 kB / 0.7963 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1815, allocations: 347.6 kB / 0.7966 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1826, allocations: 0.5979 MB / 0.7972 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.1832, allocations: 202.4 kB / 0.7974 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.1837, allocations: 184.7 kB / 0.7976 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007963/0.1845, allocations: 0.5766 MB / 0.7981 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1846, allocations: 34.56 kB / 0.7982 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1846, allocations: 0 / 0.7982 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001718/0.1863, allocations: 0.5671 MB / 0.7987 GB, free: 164 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1863, allocations: 55.41 kB / 0.7988 GB, free: 96 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1865, allocations: 268.5 kB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1866, allocations: 29.7 kB / 0.7991 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.1867, allocations: 147.9 kB / 0.7992 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1867, allocations: 43.39 kB / 0.7992 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1868, allocations: 21.72 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1869, allocations: 338.8 kB / 0.7996 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.1874, allocations: 175.9 kB / 0.7998 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1879, allocations: 187.7 kB / 0.7999 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.189, allocations: 351.3 kB / 0.8003 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.189, allocations: 0 / 0.8003 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001168/0.1902, allocations: 425 kB / 0.8007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1902, allocations: 4 kB / 0.8007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1902, allocations: 4 kB / 0.8007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.1902, allocations: 0 / 0.8007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.1907, allocations: 83.86 kB / 0.8008 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1907, allocations: 3.984 kB / 0.8008 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.191, allocations: 67.73 kB / 0.8008 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.191, allocations: 7.984 kB / 0.8008 GB, free: 13.95 MB / 0.6231 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.0001143/0.1912, allocations: 130.4 kB / 0.801 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.1912, allocations: 23.72 kB / 0.801 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1924, allocations: 447.2 kB / 0.8014 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1924, allocations: 0 / 0.8014 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1925, allocations: 8 kB / 0.8014 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1925, allocations: 3.938 kB / 0.8014 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.1927, allocations: 301.4 kB / 0.8017 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1928, allocations: 0 / 0.8017 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.1931, allocations: 71.92 kB / 0.8018 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1932, allocations: 4 kB / 0.8018 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1932, allocations: 7.984 kB / 0.8018 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1932, allocations: 0 / 0.8018 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1932, allocations: 0 / 0.8018 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1943, allocations: 0.5028 MB / 0.8023 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.1945, allocations: 120.7 kB / 0.8024 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1945, allocations: 4 kB / 0.8024 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.1948, allocations: 55.94 kB / 0.8025 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.1949, allocations: 15.92 kB / 0.8025 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1949, allocations: 7.984 kB / 0.8025 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001374/0.1951, allocations: 187.1 kB / 0.8027 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1951, allocations: 0 / 0.8027 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003049/0.1954, allocations: 71.89 kB / 0.8027 GB, free: 11.91 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.001442/0.1968, allocations: 1.066 MB / 0.8038 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.198, allocations: 394.5 kB / 0.8041 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.198, allocations: 4 kB / 0.8042 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.1985, allocations: 187.9 kB / 0.8043 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1989, allocations: 32.58 kB / 0.8044 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.2035, allocations: 3.151 MB / 0.8074 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2038, allocations: 0.7512 MB / 0.8082 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.204, allocations: 45.39 kB / 0.8082 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.2042, allocations: 79.39 kB / 0.8083 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2042, allocations: 3.938 kB / 0.8083 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3147/0.5189, allocations: 5.19 MB / 0.8134 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.5192, allocations: 224.8 kB / 0.8136 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.152, allocations: 3.938 kB / 0.8136 GB, free: 0.832 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)