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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004635/0.004635, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001167/0.001167, allocations: 189.9 kB / 16.67 MB, free: 5.938 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.251/1.251, allocations: 205.1 MB / 222.5 MB, free: 4.289 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 251.7 MB / 0.5094 GB, free: 3.137 MB / 414.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.001275/0.001275, allocations: 75.88 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1829, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002273/0.1852, allocations: 1.54 MB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 9.908e-05/0.1853, allocations: 31.84 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.1853, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1854, allocations: 11.88 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.1855, allocations: 7.938 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.071e-05/0.1856, allocations: 23.97 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.1857, allocations: 43.84 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1858, allocations: 39.89 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.1858, allocations: 27.92 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.1859, allocations: 27.84 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1859, allocations: 4 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.1859, allocations: 7.938 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.186, allocations: 19.98 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.186, allocations: 23.81 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.1861, allocations: 55.8 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1861, allocations: 0 / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1861, allocations: 0 / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1861, allocations: 4 kB / 0.8299 GB, free: 14.33 MB / 0.6544 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.0003328/0.1865, allocations: 371.2 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1865, allocations: 8.031 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1865, allocations: 8.844 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1867, allocations: 184.2 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1867, allocations: 8.375 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1867, allocations: 4.375 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1869, allocations: 96.8 kB / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1869, allocations: 8.188 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1869, allocations: 3.938 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1869, allocations: 0 / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.187, allocations: 47.91 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.1875, allocations: 0.6361 MB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/0.1876, allocations: 177.1 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.1876, allocations: 80.14 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1876, allocations: 83.12 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1877, allocations: 105.8 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1877, allocations: 0 / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.262e-05/0.1877, allocations: 41.55 kB / 0.8317 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1878, allocations: 126.7 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1879, allocations: 166.3 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1879, allocations: 29.69 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.188, allocations: 104 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.188, allocations: 0 / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.188, allocations: 17.72 kB / 0.8321 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.1881, allocations: 326.8 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.1882, allocations: 4 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.1882, allocations: 22.56 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.1882, allocations: 26.58 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1882, allocations: 0 / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000109/0.1883, allocations: 61.48 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1884, allocations: 4 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.1884, allocations: 3.938 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1884, allocations: 11.92 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.1884, allocations: 8 kB / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1885, allocations: 0 / 0.8325 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.1885, allocations: 7.906 kB / 0.8325 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.1885, allocations: 0 / 0.8325 GB, free: 11.33 MB / 0.6544 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.02e-05/0.1886, allocations: 193.2 kB / 0.8327 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.1886, allocations: 112.9 kB / 0.8328 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.1887, allocations: 116.7 kB / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/0.1887, allocations: 180.3 kB / 0.8331 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.025e-05/0.1888, allocations: 184.2 kB / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-05/0.1888, allocations: 180.2 kB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.189, allocations: 425.2 kB / 0.8339 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/0.1891, allocations: 108.9 kB / 0.834 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.1891, allocations: 105 kB / 0.8341 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-05/0.1892, allocations: 180.2 kB / 0.8342 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.1892, allocations: 184.2 kB / 0.8344 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.808e-05/0.1893, allocations: 184.5 kB / 0.8346 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-05/0.1893, allocations: 184.2 kB / 0.8348 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.1894, allocations: 315.7 kB / 0.8351 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1895, allocations: 186.1 kB / 0.8352 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.1896, allocations: 184.2 kB / 0.8354 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1896, allocations: 116.9 kB / 0.8355 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1897, allocations: 176.3 kB / 0.8357 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.1897, allocations: 108.9 kB / 0.8358 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.1898, allocations: 129.9 kB / 0.8359 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1898, allocations: 0 / 0.8359 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002019/0.19, allocations: 8 kB / 0.8359 GB, free: 7.617 MB / 0.6544 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.0001154/0.1902, allocations: 178.5 kB / 0.8361 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.801e-05/0.1902, allocations: 8 kB / 0.8361 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.1902, allocations: 4 kB / 0.8361 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1902, allocations: 3.938 kB / 0.8361 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1905, allocations: 455.7 kB / 0.8366 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.1908, allocations: 241.6 kB / 0.8368 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.191, allocations: 0.7 MB / 0.8375 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.1911, allocations: 7.984 kB / 0.8375 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.1911, allocations: 11.44 kB / 0.8375 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.1911, allocations: 0 / 0.8375 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of Templates: time 0.002057/0.1932, allocations: 439.3 kB / 0.8379 GB, free: 5.535 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (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 & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)