Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.455/1.455, allocations: 287.4 MB / 302.6 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 178.4 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007057/0.0007057, allocations: 100.1 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 16.56 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001651/0.1686, allocations: 1.784 MB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003033/0.1716, allocations: 3.534 MB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1718, allocations: 0 / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.172, allocations: 47.67 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1723, allocations: 111.3 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1726, allocations: 115.7 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1728, allocations: 270.9 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1729, allocations: 56.72 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1731, allocations: 115.5 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1733, allocations: 127.4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.1733, allocations: 8 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1735, allocations: 119.8 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.1735, allocations: 47.75 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.1736, allocations: 61.58 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1738, allocations: 231.3 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1738, allocations: 0 / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1738, allocations: 0 / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1738, allocations: 4 kB / 0.9852 GB, free: 21.45 MB / 0.6198 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.0009361/0.1747, allocations: 0.6193 MB / 0.9858 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1748, allocations: 16.03 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.1748, allocations: 42.73 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007596/0.1756, allocations: 152.5 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.1762, allocations: 332.2 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1762, allocations: 12.31 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1762, allocations: 15.94 kB / 0.9863 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.1768, allocations: 249.5 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1768, allocations: 4 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1768, allocations: 4 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1769, allocations: 0 / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.1778, allocations: 343.7 kB / 0.9869 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009896/0.1788, allocations: 0.6057 MB / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.1792, allocations: 198.4 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.1797, allocations: 185 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.1803, allocations: 0.5806 MB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.1804, allocations: 38.5 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1804, allocations: 0 / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001451/0.1818, allocations: 0.5615 MB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.1819, allocations: 51.41 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.182, allocations: 264.5 kB / 0.9893 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.182, allocations: 25.7 kB / 0.9893 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.1821, allocations: 152 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1821, allocations: 43.36 kB / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.1822, allocations: 4 kB / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.1822, allocations: 334.8 kB / 0.9899 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.1827, allocations: 179.9 kB / 0.99 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.1831, allocations: 182.4 kB / 0.9902 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.184, allocations: 348.5 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.184, allocations: 0 / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009618/0.185, allocations: 435.5 kB / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.185, allocations: 4 kB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.185, allocations: 3.938 kB / 0.991 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.185, allocations: 4 kB / 0.991 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.1854, allocations: 83.86 kB / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1854, allocations: 0 / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.1857, allocations: 75.66 kB / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.1858, allocations: 4 kB / 0.9911 GB, free: 15.04 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.951e-05/0.1859, allocations: 133.8 kB / 0.9912 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1859, allocations: 23.72 kB / 0.9913 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1869, allocations: 443.3 kB / 0.9917 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.187, allocations: 0 / 0.9917 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.187, allocations: 0 / 0.9917 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.187, allocations: 7.922 kB / 0.9917 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.1872, allocations: 305.3 kB / 0.992 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1872, allocations: 0 / 0.992 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.1876, allocations: 75.92 kB / 0.9921 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1876, allocations: 0 / 0.9921 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1876, allocations: 7.984 kB / 0.9921 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1876, allocations: 0 / 0.9921 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1876, allocations: 0 / 0.9921 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/0.1886, allocations: 0.5038 MB / 0.9926 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.1886, allocations: 120.8 kB / 0.9927 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.1887, allocations: 4 kB / 0.9927 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.189, allocations: 47.95 kB / 0.9927 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.1891, allocations: 23.91 kB / 0.9927 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1891, allocations: 3.984 kB / 0.9927 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001164/0.1892, allocations: 187.1 kB / 0.9929 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1892, allocations: 0 / 0.9929 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002645/0.1895, allocations: 67.84 kB / 0.993 GB, free: 13.01 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.1907, allocations: 1.078 MB / 0.994 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009465/0.1916, allocations: 379.7 kB / 0.9944 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1917, allocations: 0 / 0.9944 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.1921, allocations: 196.5 kB / 0.9946 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1925, allocations: 32.58 kB / 0.9946 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.1953, allocations: 1.854 MB / 0.9964 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.1954, allocations: 0.7434 MB / 0.9972 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.1957, allocations: 53.39 kB / 0.9972 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.1958, allocations: 75.39 kB / 0.9973 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1958, allocations: 3.938 kB / 0.9973 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6473/0.8431, allocations: 5.201 MB / 1.002 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.8433, allocations: 215.7 kB / 1.003 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.853, allocations: 0 / 1.003 GB, free: 3.266 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)