Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 112.2 kB / 16.41 MB, free: 6.5 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.001864/0.001864, allocations: 197.2 kB / 17.34 MB, free: 5.758 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8539/0.8539, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 65.88 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1721, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003545/0.1757, allocations: 1.424 MB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.1767, allocations: 387.5 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.1768, allocations: 4 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.1768, allocations: 0 / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.1769, allocations: 7.875 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.1776, allocations: 115.6 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.146e-05/0.1777, allocations: 23.92 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1778, allocations: 11.98 kB / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.1779, allocations: 4 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1779, allocations: 15.92 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.178, allocations: 4 kB / 0.634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1784, allocations: 271.7 kB / 0.6343 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.1784, allocations: 11.92 kB / 0.6343 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1785, allocations: 15.92 kB / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1788, allocations: 111.7 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1788, allocations: 0 / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1788, allocations: 0 / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1788, allocations: 4 kB / 0.6344 GB, free: 1.992 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005373/0.1793, allocations: 359.4 kB / 0.6348 GB, free: 1.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1794, allocations: 8.031 kB / 0.6348 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.1794, allocations: 4.938 kB / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1796, allocations: 172.3 kB / 0.6349 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1796, allocations: 4.375 kB / 0.6349 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1796, allocations: 384 / 0.6349 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1798, allocations: 54.23 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1798, allocations: 192 / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1799, allocations: 3.938 kB / 0.635 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1799, allocations: 0 / 0.635 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.18, allocations: 35.91 kB / 0.635 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1804, allocations: 252.9 kB / 0.6353 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1806, allocations: 42.5 kB / 0.6353 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.1807, allocations: 32.89 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007254/0.1814, allocations: 457.5 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1815, allocations: 30.56 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.1815, allocations: 0 / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004511/0.1819, allocations: 85.58 kB / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.182, allocations: 51.53 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.1821, allocations: 113.8 kB / 0.6361 GB, free: 36 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1821, allocations: 25.7 kB / 0.6361 GB, free: 4 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.1822, allocations: 92.12 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.1822, allocations: 3.906 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1823, allocations: 13.7 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1824, allocations: 318.8 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1825, allocations: 15.92 kB / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.1826, allocations: 23.98 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1828, allocations: 36.81 kB / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1828, allocations: 3.938 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002163/0.183, allocations: 73.45 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.183, allocations: 12.08 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.183, allocations: 4 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1831, allocations: 0 / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.1832, allocations: 8 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1832, allocations: 0 / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.1832, allocations: 11.98 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1832, allocations: 0 / 0.6367 GB, free: 15.37 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 (2): * Single equations (assignments): 2 * 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.062e-05/0.1833, allocations: 109.8 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.1834, allocations: 4 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.1836, allocations: 85.11 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1836, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1836, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1836, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1838, allocations: 157.6 kB / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1838, allocations: 0 / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.1839, allocations: 11.98 kB / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1839, allocations: 0 / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1839, allocations: 4.031 kB / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1839, allocations: 0 / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1839, allocations: 0 / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1842, allocations: 167.5 kB / 0.6372 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.1842, allocations: 84.95 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1842, allocations: 4.234 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.1843, allocations: 12.03 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1843, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1844, allocations: 4 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.1844, allocations: 87.27 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1844, allocations: 0 / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1847, allocations: 16 kB / 0.6374 GB, free: 14.54 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 (2): * Single equations (assignments): 2 * 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.0001695/0.1848, allocations: 111.2 kB / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1851, allocations: 39.91 kB / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1851, allocations: 0 / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.1852, allocations: 15.98 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1855, allocations: 23.84 kB / 0.6376 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.1858, allocations: 109.6 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1861, allocations: 0.6769 MB / 0.6383 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.66e-05/0.1861, allocations: 3.984 kB / 0.6383 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.1861, allocations: 11.44 kB / 0.6383 GB, free: 13.49 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1861, allocations: 3.938 kB / 0.6383 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Templates: time 0.00325/0.1894, allocations: 0.716 MB / 0.639 GB, free: 12.77 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)