Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007688/0.0007688, allocations: 89.78 kB / 16.66 MB, free: 6.098 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.0009079/0.0009081, allocations: 181.2 kB / 17.57 MB, free: 5.816 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.31/1.31, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7297/0.7297, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003374, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3828, allocations: 77.51 MB / 0.5606 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006796/0.3836, allocations: 323.5 kB / 0.5609 GB, free: 36.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.3843, allocations: 362.1 kB / 0.5612 GB, free: 35.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.3843, allocations: 0 / 0.5612 GB, free: 35.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.3844, allocations: 4.812 kB / 0.5613 GB, free: 35.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.781e-05/0.3844, allocations: 5.438 kB / 0.5613 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.3848, allocations: 76.02 kB / 0.5613 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.3849, allocations: 11.31 kB / 0.5613 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.3849, allocations: 3.578 kB / 0.5613 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.3849, allocations: 3.156 kB / 0.5613 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.385, allocations: 6.859 kB / 0.5614 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.385, allocations: 1.281 kB / 0.5614 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.3855, allocations: 268.5 kB / 0.5616 GB, free: 35.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.3855, allocations: 9.953 kB / 0.5616 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.3855, allocations: 28.27 kB / 0.5616 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3857, allocations: 58.91 kB / 0.5617 GB, free: 35.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3857, allocations: 0.75 kB / 0.5617 GB, free: 35.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3857, allocations: 1.625 kB / 0.5617 GB, free: 35.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.3857, allocations: 0 / 0.5617 GB, free: 35.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002859/0.386, allocations: 337.6 kB / 0.562 GB, free: 35.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.386, allocations: 13.62 kB / 0.562 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.3861, allocations: 4.578 kB / 0.562 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.3862, allocations: 162.7 kB / 0.5622 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3862, allocations: 5.344 kB / 0.5622 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3862, allocations: 1.531 kB / 0.5622 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.3863, allocations: 38.5 kB / 0.5622 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3864, allocations: 192 / 0.5622 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3864, allocations: 5.031 kB / 0.5622 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3864, allocations: 1.906 kB / 0.5623 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.3864, allocations: 3.391 kB / 0.5623 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.3865, allocations: 158.6 kB / 0.5624 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.3866, allocations: 24.16 kB / 0.5624 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.3866, allocations: 9.516 kB / 0.5624 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006878/0.3873, allocations: 465.3 kB / 0.5629 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3873, allocations: 34.62 kB / 0.5629 GB, free: 34.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3873, allocations: 0 / 0.5629 GB, free: 34.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004915/0.3878, allocations: 259.2 kB / 0.5632 GB, free: 34.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.3879, allocations: 54.78 kB / 0.5632 GB, free: 34.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.24e-05/0.3879, allocations: 94.14 kB / 0.5633 GB, free: 33.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.388, allocations: 27.02 kB / 0.5633 GB, free: 33.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.9e-05/0.388, allocations: 82.19 kB / 0.5634 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.388, allocations: 17.52 kB / 0.5634 GB, free: 33.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.3881, allocations: 12.89 kB / 0.5634 GB, free: 33.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.3881, allocations: 312.8 kB / 0.5637 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.3881, allocations: 9.359 kB / 0.5637 GB, free: 33.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.3882, allocations: 20.14 kB / 0.5638 GB, free: 33.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.3882, allocations: 26.64 kB / 0.5638 GB, free: 33.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3882, allocations: 3.938 kB / 0.5638 GB, free: 33.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.92e-05/0.3883, allocations: 58.36 kB / 0.5638 GB, free: 33.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3884, allocations: 9.656 kB / 0.5639 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3884, allocations: 1.406 kB / 0.5639 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3884, allocations: 1.344 kB / 0.5639 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.3885, allocations: 6.219 kB / 0.5639 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3885, allocations: 0.875 kB / 0.5639 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.3885, allocations: 1.406 kB / 0.5639 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3885, allocations: 2.422 kB / 0.5639 GB, free: 33.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.578e-05/0.3886, allocations: 110.5 kB / 0.564 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.3886, allocations: 9.062 kB / 0.564 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.3887, allocations: 61.12 kB / 0.564 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3887, allocations: 0 / 0.564 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3887, allocations: 1.438 kB / 0.564 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3888, allocations: 1.094 kB / 0.564 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.682e-05/0.3888, allocations: 150.5 kB / 0.5642 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3888, allocations: 0 / 0.5642 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.3889, allocations: 10.88 kB / 0.5642 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3889, allocations: 3.938 kB / 0.5642 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3889, allocations: 2.875 kB / 0.5642 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3889, allocations: 0 / 0.5642 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3889, allocations: 1.25 kB / 0.5642 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.3891, allocations: 80.77 kB / 0.5643 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.3891, allocations: 87.75 kB / 0.5644 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3891, allocations: 4.734 kB / 0.5644 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.3892, allocations: 2 kB / 0.5644 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.3892, allocations: 4.656 kB / 0.5644 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3892, allocations: 1.25 kB / 0.5644 GB, free: 32.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.3892, allocations: 77.39 kB / 0.5645 GB, free: 32.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3892, allocations: 0 / 0.5645 GB, free: 32.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.3894, allocations: 26.19 kB / 0.5645 GB, free: 32.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.000193/0.3896, allocations: 129.5 kB / 0.5646 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.906e-05/0.3897, allocations: 14.36 kB / 0.5646 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3897, allocations: 0.6875 kB / 0.5646 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.3898, allocations: 16.64 kB / 0.5646 GB, free: 32.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.3899, allocations: 2.031 kB / 0.5646 GB, free: 32.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.3901, allocations: 141.4 kB / 0.5648 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3903, allocations: 0.6775 MB / 0.5654 GB, free: 31.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.3903, allocations: 10.28 kB / 0.5654 GB, free: 31.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3903, allocations: 0 / 0.5654 GB, free: 31.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002398/0.3927, allocations: 0.773 MB / 0.5662 GB, free: 31.8 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)