Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 117.5 kB / 17.09 MB, free: 5.938 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.001703/0.001703, allocations: 197.9 kB / 18.02 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7546/0.7546, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.78 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 76.19 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002973/0.1743, allocations: 1.552 MB / 0.6343 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1758, allocations: 0.9162 MB / 0.6352 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.1759, allocations: 0 / 0.6352 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.176, allocations: 3.938 kB / 0.6352 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.1762, allocations: 23.78 kB / 0.6352 GB, free: 1.875 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1766, allocations: 147.5 kB / 0.6353 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1768, allocations: 75.72 kB / 0.6354 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1769, allocations: 15.97 kB / 0.6354 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.177, allocations: 35.8 kB / 0.6354 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1771, allocations: 39.83 kB / 0.6355 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1772, allocations: 4 kB / 0.6355 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.1776, allocations: 283.7 kB / 0.6358 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.1776, allocations: 15.92 kB / 0.6358 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.1777, allocations: 27.86 kB / 0.6358 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1779, allocations: 155.5 kB / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.178, allocations: 0 / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.178, allocations: 0 / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.178, allocations: 0 / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006519/0.1786, allocations: 407.1 kB / 0.6363 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1787, allocations: 8.031 kB / 0.6363 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.1788, allocations: 16.84 kB / 0.6364 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1791, allocations: 192.2 kB / 0.6365 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1791, allocations: 384 / 0.6365 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1791, allocations: 8.375 kB / 0.6366 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1793, allocations: 65.92 kB / 0.6366 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1793, allocations: 0 / 0.6366 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1793, allocations: 0 / 0.6366 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1794, allocations: 0 / 0.6366 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.1795, allocations: 47.95 kB / 0.6367 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.18, allocations: 292.7 kB / 0.6369 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1801, allocations: 62.48 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.1802, allocations: 32.91 kB / 0.637 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1802, allocations: 0 / 0.637 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1803, allocations: 34.56 kB / 0.6371 GB, free: 15.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1803, allocations: 0 / 0.6371 GB, free: 15.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003435/0.1806, allocations: 109.7 kB / 0.6372 GB, free: 15.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1807, allocations: 55.34 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1808, allocations: 132 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1808, allocations: 25.7 kB / 0.6374 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.1809, allocations: 96.14 kB / 0.6375 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1809, allocations: 23.8 kB / 0.6375 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.181, allocations: 17.72 kB / 0.6375 GB, free: 15.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.1812, allocations: 322.8 kB / 0.6378 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.1813, allocations: 24.05 kB / 0.6378 GB, free: 14.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.1814, allocations: 27.98 kB / 0.6379 GB, free: 14.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1815, allocations: 52.83 kB / 0.6379 GB, free: 14.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1815, allocations: 7.938 kB / 0.6379 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000197/0.1817, allocations: 85.58 kB / 0.638 GB, free: 14.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1817, allocations: 4 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1817, allocations: 7.922 kB / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1818, allocations: 0 / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.182, allocations: 16 kB / 0.638 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.182, allocations: 3.984 kB / 0.638 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.182, allocations: 4 kB / 0.638 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.182, allocations: 0 / 0.638 GB, free: 14.73 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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.669e-05/0.1821, allocations: 117.8 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1822, allocations: 7.906 kB / 0.6382 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1824, allocations: 101.9 kB / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1825, allocations: 8 kB / 0.6383 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1825, allocations: 0 / 0.6383 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1825, allocations: 0 / 0.6383 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1827, allocations: 185.5 kB / 0.6384 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1827, allocations: 256 / 0.6384 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.1828, allocations: 15.98 kB / 0.6385 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1828, allocations: 4 kB / 0.6385 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.1828, allocations: 3.984 kB / 0.6385 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1828, allocations: 0 / 0.6385 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1828, allocations: 4 kB / 0.6385 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1831, allocations: 187.4 kB / 0.6386 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1831, allocations: 85.03 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1831, allocations: 4 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.1832, allocations: 4 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1833, allocations: 11.92 kB / 0.6387 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1833, allocations: 3.938 kB / 0.6387 GB, free: 13.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.642e-05/0.1834, allocations: 112.9 kB / 0.6389 GB, free: 13.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1834, allocations: 0 / 0.6389 GB, free: 13.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1836, allocations: 16 kB / 0.6389 GB, free: 13.77 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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.0001697/0.1838, allocations: 119.2 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.184, allocations: 55.91 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.184, allocations: 0 / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.1841, allocations: 39.92 kB / 0.6391 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1844, allocations: 15.91 kB / 0.6391 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.1848, allocations: 208.8 kB / 0.6393 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1851, allocations: 0.6961 MB / 0.64 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1852, allocations: 19.42 kB / 0.64 GB, free: 12.56 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1852, allocations: 4 kB / 0.64 GB, free: 12.56 MB / 494.1 MB Notification: Performance of Templates: time 0.002872/0.188, allocations: 1.111 MB / 0.6411 GB, free: 11.46 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)