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.001233/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001333/0.001333, allocations: 196.2 kB / 16.14 MB, free: 6.672 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.241/1.241, allocations: 205.1 MB / 222 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.556/1.556, 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.001317/0.001317, allocations: 66.94 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1831, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002314/0.1854, allocations: 1.596 MB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.303e-05/0.1855, allocations: 27.91 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.1856, allocations: 11.88 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1857, allocations: 3.938 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.741e-05/0.1857, allocations: 3.984 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.083e-05/0.1858, allocations: 19.98 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.1859, allocations: 47.84 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.186, allocations: 24.27 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.186, allocations: 19.94 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.1861, allocations: 35.83 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1861, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.1861, allocations: 4 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.1862, allocations: 19.92 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.1862, allocations: 23.81 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.155e-05/0.1863, allocations: 51.75 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1863, allocations: 0 / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.51e-07/0.1863, allocations: 0 / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.1863, allocations: 0 / 0.7846 GB, free: 12.01 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.0003879/0.1867, allocations: 371.3 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1867, allocations: 16.03 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.1868, allocations: 42.73 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.1868, allocations: 8.844 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.187, allocations: 188.1 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.187, allocations: 8.375 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.187, allocations: 4.375 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1872, allocations: 100.8 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1872, allocations: 3.938 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1872, allocations: 4 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1872, allocations: 7.984 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.1873, allocations: 39.92 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.1878, allocations: 0.6401 MB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/0.1878, allocations: 170.2 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.1879, allocations: 84.08 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1879, allocations: 75.28 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.188, allocations: 109.8 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.188, allocations: 0 / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.842e-05/0.188, allocations: 37.55 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1881, allocations: 130.7 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1882, allocations: 165.5 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.1882, allocations: 29.7 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.1883, allocations: 103.9 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.1883, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.1883, allocations: 17.72 kB / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.1884, allocations: 322.8 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.1884, allocations: 7.938 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.1885, allocations: 18.58 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.1885, allocations: 30.5 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1885, allocations: 4 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001002/0.1886, allocations: 57.55 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1886, allocations: 8 kB / 0.7873 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1886, allocations: 3.938 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.1887, allocations: 3.938 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.1887, allocations: 4 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1887, allocations: 7.984 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.1888, allocations: 3.938 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.1888, allocations: 8.031 kB / 0.7874 GB, free: 8.949 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 0.0001471/0.1889, allocations: 193.1 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.189, allocations: 108.9 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.189, allocations: 120.7 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/0.1891, allocations: 176.3 kB / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-05/0.1892, allocations: 184.2 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-05/0.1892, allocations: 184.3 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1895, allocations: 425.2 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/0.1895, allocations: 105.1 kB / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.1896, allocations: 105 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.825e-05/0.1897, allocations: 188.2 kB / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.1897, allocations: 188.2 kB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001271/0.1899, allocations: 180.3 kB / 0.7894 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.217e-05/0.1899, allocations: 180.2 kB / 0.7896 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.19, allocations: 311.7 kB / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.1901, allocations: 190 kB / 0.7901 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/0.1902, allocations: 184.2 kB / 0.7903 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1903, allocations: 108.9 kB / 0.7904 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.1904, allocations: 176.3 kB / 0.7905 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.1905, allocations: 108.9 kB / 0.7906 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.004e-05/0.1906, allocations: 125.5 kB / 0.7907 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1906, allocations: 4 kB / 0.7908 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001982/0.1908, allocations: 4 kB / 0.7908 GB, free: 5.25 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.0003749/0.1912, allocations: 0.8164 MB / 0.7916 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.016e-05/0.1912, allocations: 19.94 kB / 0.7916 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1912, allocations: 192 / 0.7916 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.1912, allocations: 4 kB / 0.7916 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1916, allocations: 0.5263 MB / 0.7921 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1928, allocations: 1.635 MB / 0.7937 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1931, allocations: 0.6887 MB / 0.7944 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.1932, allocations: 15.7 kB / 0.7944 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1932, allocations: 19.44 kB / 0.7944 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1932, allocations: 4 kB / 0.7944 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9421/1.135, allocations: 1.542 MB / 0.7959 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/1.136, allocations: 217.5 kB / 0.7961 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.707, allocations: 0 / 0.7961 GB, free: 15.69 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)