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.0009/0.0009036, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009339/0.0009342, allocations: 184.6 kB / 16.92 MB, free: 6.754 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7685/0.7685, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003834, allocations: 8 kB / 495.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 77.53 MB / 0.5599 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001819/0.1797, allocations: 1.15 MB / 0.5611 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.1806, allocations: 411.6 kB / 0.5615 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.1806, allocations: 4 kB / 0.5615 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.1807, allocations: 0 / 0.5615 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.1807, allocations: 3.984 kB / 0.5615 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.1812, allocations: 75.8 kB / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.1812, allocations: 31.84 kB / 0.5616 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1813, allocations: 8 kB / 0.5616 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.1814, allocations: 7.984 kB / 0.5616 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.1815, allocations: 11.94 kB / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1815, allocations: 0 / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.1819, allocations: 279.6 kB / 0.5619 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1819, allocations: 0 / 0.5619 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.182, allocations: 37.64 kB / 0.5619 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1822, allocations: 103.8 kB / 0.562 GB, free: 6.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1822, allocations: 0 / 0.562 GB, free: 6.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1822, allocations: 0 / 0.562 GB, free: 6.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1822, allocations: 0 / 0.562 GB, free: 6.949 MB / 430.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.0005018/0.1827, allocations: 375.6 kB / 0.5623 GB, free: 6.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1828, allocations: 12.03 kB / 0.5624 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.1828, allocations: 4.938 kB / 0.5624 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.183, allocations: 168.3 kB / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.183, allocations: 384 / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.183, allocations: 384 / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1832, allocations: 58.23 kB / 0.5626 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1832, allocations: 192 / 0.5626 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1832, allocations: 7.938 kB / 0.5626 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1833, allocations: 3.938 kB / 0.5626 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.1834, allocations: 51.95 kB / 0.5626 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1838, allocations: 245 kB / 0.5629 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.184, allocations: 46.5 kB / 0.5629 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.1841, allocations: 32.91 kB / 0.563 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.1848, allocations: 465.4 kB / 0.5634 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1848, allocations: 34.5 kB / 0.5634 GB, free: 5.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1848, allocations: 4 kB / 0.5634 GB, free: 5.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004023/0.1852, allocations: 97.73 kB / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1853, allocations: 51.41 kB / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.1853, allocations: 105.8 kB / 0.5637 GB, free: 4.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1854, allocations: 25.7 kB / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.1854, allocations: 88.14 kB / 0.5638 GB, free: 4.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.1854, allocations: 7.844 kB / 0.5638 GB, free: 4.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.1855, allocations: 9.719 kB / 0.5638 GB, free: 4.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1857, allocations: 318.9 kB / 0.5641 GB, free: 4.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.1858, allocations: 27.91 kB / 0.5641 GB, free: 4.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.1859, allocations: 23.98 kB / 0.5642 GB, free: 4.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.186, allocations: 52.83 kB / 0.5642 GB, free: 4.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.186, allocations: 0 / 0.5642 GB, free: 4.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000235/0.1863, allocations: 81.59 kB / 0.5643 GB, free: 4.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1863, allocations: 9.719 kB / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1863, allocations: 0 / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1863, allocations: 0 / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.1864, allocations: 11.98 kB / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1864, allocations: 3.938 kB / 0.5643 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.1865, allocations: 16.02 kB / 0.5643 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1865, allocations: 4 kB / 0.5643 GB, free: 4.238 MB / 430.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 7.216e-05/0.1866, allocations: 109.8 kB / 0.5644 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.1867, allocations: 7.906 kB / 0.5644 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1869, allocations: 89.12 kB / 0.5645 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1869, allocations: 0 / 0.5645 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1869, allocations: 0 / 0.5645 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1869, allocations: 0 / 0.5645 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1871, allocations: 165.6 kB / 0.5647 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1871, allocations: 0 / 0.5647 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.1872, allocations: 12.23 kB / 0.5647 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1872, allocations: 0 / 0.5647 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1872, allocations: 4 kB / 0.5647 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1872, allocations: 4.031 kB / 0.5647 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1872, allocations: 4 kB / 0.5647 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1875, allocations: 175.4 kB / 0.5649 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.1876, allocations: 85.05 kB / 0.565 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1876, allocations: 4 kB / 0.565 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.1877, allocations: 7.984 kB / 0.565 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1877, allocations: 4 kB / 0.565 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1877, allocations: 0 / 0.565 GB, free: 3.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.503e-05/0.1878, allocations: 83.28 kB / 0.565 GB, free: 3.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 0.565 GB, free: 3.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.188, allocations: 15.98 kB / 0.5651 GB, free: 3.383 MB / 430.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.000215/0.1883, allocations: 115.2 kB / 0.5652 GB, free: 3.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1885, allocations: 51.95 kB / 0.5652 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1885, allocations: 0 / 0.5652 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.1886, allocations: 27.98 kB / 0.5652 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1889, allocations: 14.61 kB / 0.5653 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.1892, allocations: 116.6 kB / 0.5654 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1895, allocations: 0.6809 MB / 0.566 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.1895, allocations: 8.062 kB / 0.566 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.1895, allocations: 7.438 kB / 0.5661 GB, free: 2.312 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1895, allocations: 0 / 0.5661 GB, free: 2.312 MB / 430.1 MB Notification: Performance of Templates: time 0.003414/0.193, allocations: 0.6333 MB / 0.5667 GB, free: 1.68 MB / 430.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)