Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001224/0.001224, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.208/1.208, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.575/1.575, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001414/0.001414, allocations: 69.53 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1822, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002524/0.1848, allocations: 1.543 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.853e-05/0.1849, allocations: 31.86 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.1849, allocations: 3.938 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.185, allocations: 11.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.1851, allocations: 7.922 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.38e-05/0.1852, allocations: 15.98 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.1853, allocations: 47.84 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1854, allocations: 32.27 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.1854, allocations: 19.92 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.1855, allocations: 31.84 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1855, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.1855, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.1856, allocations: 19.92 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.1856, allocations: 31.86 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.1857, allocations: 51.75 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1857, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1857, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.1857, allocations: 0 / 0.7853 GB, free: 11.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003564/0.1861, allocations: 371.2 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1861, allocations: 12.03 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1862, allocations: 34.75 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.1862, allocations: 8.844 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1864, allocations: 192.2 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1864, allocations: 8.312 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1864, allocations: 8.375 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1866, allocations: 103.5 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1866, allocations: 3.938 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1866, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1866, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.1867, allocations: 47.91 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.1872, allocations: 0.6362 MB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.1873, allocations: 181.1 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.1873, allocations: 80.14 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1873, allocations: 75.28 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1874, allocations: 105.8 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1874, allocations: 0 / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.866e-05/0.1874, allocations: 41.53 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1875, allocations: 130.7 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1877, allocations: 169.5 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.1877, allocations: 25.7 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.1877, allocations: 103.9 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.1877, allocations: 4 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1878, allocations: 17.66 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.1879, allocations: 322.8 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.1879, allocations: 4 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.1879, allocations: 30.52 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.188, allocations: 18.58 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.188, allocations: 0 / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001123/0.1881, allocations: 61.53 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1881, allocations: 14.69 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1881, allocations: 7.938 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1881, allocations: 0 / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.1882, allocations: 4 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1882, allocations: 0 / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.1882, allocations: 7.938 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-06/0.1882, allocations: 0 / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.93e-05/0.1883, allocations: 197.1 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.1884, allocations: 112.9 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.1885, allocations: 120.7 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/0.1885, allocations: 185.4 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.846e-05/0.1886, allocations: 184.2 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-05/0.1886, allocations: 176.3 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1889, allocations: 425.2 kB / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.1889, allocations: 108.9 kB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1889, allocations: 101 kB / 0.7895 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.323e-05/0.189, allocations: 184.1 kB / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.1891, allocations: 184.2 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.562e-05/0.1891, allocations: 184.2 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-05/0.1892, allocations: 184.4 kB / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.1893, allocations: 315.7 kB / 0.7905 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.1894, allocations: 186 kB / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.1894, allocations: 188.1 kB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.1895, allocations: 101 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.1896, allocations: 180.3 kB / 0.7912 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.1896, allocations: 116.9 kB / 0.7913 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.205e-05/0.1897, allocations: 125.5 kB / 0.7914 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1897, allocations: 0 / 0.7914 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000216/0.19, allocations: 8 kB / 0.7914 GB, free: 4.738 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 (0): * Single equations (assignments): 0 * 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.0003469/0.1903, allocations: 0.8164 MB / 0.7922 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.118e-05/0.1904, allocations: 11.94 kB / 0.7922 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1904, allocations: 0 / 0.7922 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1904, allocations: 7.938 kB / 0.7922 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1907, allocations: 459.9 kB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.192, allocations: 1.63 MB / 0.7942 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1923, allocations: 0.6925 MB / 0.7949 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.982e-05/0.1923, allocations: 11.77 kB / 0.7949 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1923, allocations: 19.44 kB / 0.7949 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1923, allocations: 0 / 0.7949 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/1.349, allocations: 1.655 MB / 0.7966 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.75, allocations: 14.78 kB / 0.7966 GB, free: 15.37 MB / 0.6231 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)