Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 170.3 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00071/0.00071, allocations: 93.17 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 8.375 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1849, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.0015/0.1865, allocations: 1.274 MB / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.593e-05/0.1866, allocations: 27.86 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.1866, allocations: 0 / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1867, allocations: 19.92 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.261e-05/0.1868, allocations: 7.922 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.755e-05/0.1869, allocations: 15.98 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.187, allocations: 39.84 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1871, allocations: 39.97 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.1871, allocations: 19.92 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.1872, allocations: 11.92 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1872, allocations: 4 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.1872, allocations: 0 / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.1873, allocations: 19.92 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.1873, allocations: 19.81 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.893e-05/0.1874, allocations: 47.8 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1874, allocations: 3.938 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1874, allocations: 0 / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.1874, allocations: 0 / 0.8977 GB, free: 66.48 MB / 0.6042 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.0002768/0.1877, allocations: 359.4 kB / 0.898 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1877, allocations: 8.031 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.1878, allocations: 42.73 kB / 0.8981 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.1878, allocations: 8.844 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1879, allocations: 184.2 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1879, allocations: 4.375 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1879, allocations: 4.375 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1881, allocations: 104.8 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1881, allocations: 7.875 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1881, allocations: 0 / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1881, allocations: 4 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.237e-05/0.1882, allocations: 43.97 kB / 0.8984 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1886, allocations: 0.6362 MB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.1886, allocations: 177 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.1886, allocations: 80.14 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1886, allocations: 75.28 kB / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1887, allocations: 113.8 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1887, allocations: 0 / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.536e-05/0.1887, allocations: 37.55 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.1888, allocations: 130.6 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1889, allocations: 171.6 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-06/0.1889, allocations: 25.7 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.1889, allocations: 111.9 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.189, allocations: 4 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.189, allocations: 9.719 kB / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.189, allocations: 322.8 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.189, allocations: 4 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.1891, allocations: 22.58 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.1891, allocations: 34.5 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1891, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.979e-05/0.1892, allocations: 53.55 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1892, allocations: 4 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1892, allocations: 7.938 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1892, allocations: 0 / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/0.1893, allocations: 7.984 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1893, allocations: 3.984 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.1893, allocations: 8.094 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.1894, allocations: 0 / 0.9004 GB, free: 63.45 MB / 0.6042 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 5.4e-05/0.1894, allocations: 193.1 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1895, allocations: 116.8 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.1895, allocations: 120.8 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.1895, allocations: 180.3 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.1895, allocations: 185.1 kB / 0.9012 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.1896, allocations: 176.3 kB / 0.9013 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.1897, allocations: 429.1 kB / 0.9017 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.1897, allocations: 109 kB / 0.9018 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.1897, allocations: 101 kB / 0.9019 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/0.1898, allocations: 184.2 kB / 0.9021 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1898, allocations: 192.2 kB / 0.9023 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-05/0.1898, allocations: 184.3 kB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-05/0.1898, allocations: 176.3 kB / 0.9026 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.828e-05/0.1899, allocations: 319.7 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.1899, allocations: 186 kB / 0.9031 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.19, allocations: 192.1 kB / 0.9033 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.19, allocations: 105 kB / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.1901, allocations: 180.2 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1901, allocations: 101 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.1901, allocations: 127.2 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1901, allocations: 4 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001857/0.1903, allocations: 8 kB / 0.9038 GB, free: 59.73 MB / 0.6042 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.0001936/0.1905, allocations: 0.8164 MB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.111e-05/0.1906, allocations: 4.125 kB / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1906, allocations: 4.062 kB / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.1906, allocations: 4 kB / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1909, allocations: 0.5233 MB / 0.9051 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.1917, allocations: 1.645 MB / 0.9067 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.527e-05/0.1918, allocations: 0.6887 MB / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.1919, allocations: 19.78 kB / 0.9074 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.1919, allocations: 19.44 kB / 0.9074 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1919, allocations: 0 / 0.9074 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2942/0.4861, allocations: 1.485 MB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.4863, allocations: 225.8 kB / 0.9091 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.167, allocations: 12 kB / 0.9091 GB, free: 54.28 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)