Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007995/0.0007993, allocations: 89.53 kB / 16.67 MB, free: 6.594 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.001081/0.001081, allocations: 187.8 kB / 17.58 MB, free: 6.188 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.322/1.322, allocations: 223.3 MB / 241.6 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7058/0.7058, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3841, allocations: 77.51 MB / 0.5606 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006604/0.3848, allocations: 314.2 kB / 0.5609 GB, free: 36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006167/0.3855, allocations: 347.7 kB / 0.5612 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-06/0.3855, allocations: 0 / 0.5612 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.065e-05/0.3855, allocations: 0.875 kB / 0.5612 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.318e-06/0.3855, allocations: 0 / 0.5612 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.3859, allocations: 74.75 kB / 0.5613 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.518e-05/0.3859, allocations: 3.969 kB / 0.5613 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.386, allocations: 2.578 kB / 0.5613 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.386, allocations: 0 / 0.5613 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.362e-05/0.386, allocations: 1.312 kB / 0.5613 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.386, allocations: 0 / 0.5613 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.3865, allocations: 276.6 kB / 0.5616 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.3865, allocations: 5.125 kB / 0.5616 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.3865, allocations: 25.7 kB / 0.5616 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3867, allocations: 57.27 kB / 0.5617 GB, free: 35.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3867, allocations: 1.031 kB / 0.5617 GB, free: 35.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3867, allocations: 1.938 kB / 0.5617 GB, free: 35.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3867, allocations: 0 / 0.5617 GB, free: 35.63 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002224/0.3869, allocations: 330.6 kB / 0.562 GB, free: 35.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.387, allocations: 12.97 kB / 0.562 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.387, allocations: 4.375 kB / 0.562 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.088e-05/0.3871, allocations: 161 kB / 0.5621 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3871, allocations: 0.9844 kB / 0.5621 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.3871, allocations: 2.625 kB / 0.5621 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.995e-05/0.3872, allocations: 29.97 kB / 0.5622 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.3872, allocations: 192 / 0.5622 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3872, allocations: 4.688 kB / 0.5622 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3873, allocations: 1.469 kB / 0.5622 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.3873, allocations: 6.375 kB / 0.5622 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.939e-05/0.3874, allocations: 152.9 kB / 0.5623 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.055e-05/0.3874, allocations: 17.8 kB / 0.5623 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.3874, allocations: 6.719 kB / 0.5624 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.3879, allocations: 426.1 kB / 0.5628 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3879, allocations: 34.53 kB / 0.5628 GB, free: 34.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3879, allocations: 0 / 0.5628 GB, free: 34.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.388, allocations: 43.58 kB / 0.5628 GB, free: 34.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.3881, allocations: 58.38 kB / 0.5629 GB, free: 34.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.873e-05/0.3881, allocations: 91.27 kB / 0.563 GB, free: 34.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.3881, allocations: 25.7 kB / 0.563 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.235e-05/0.3881, allocations: 81.48 kB / 0.5631 GB, free: 33.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.3882, allocations: 5.391 kB / 0.5631 GB, free: 33.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.3882, allocations: 11.67 kB / 0.5631 GB, free: 33.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.3882, allocations: 310.8 kB / 0.5634 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.3883, allocations: 6.734 kB / 0.5634 GB, free: 33.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.3883, allocations: 1.969 kB / 0.5634 GB, free: 33.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.3883, allocations: 15.58 kB / 0.5634 GB, free: 33.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3883, allocations: 0 / 0.5634 GB, free: 33.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.867e-05/0.3884, allocations: 35.89 kB / 0.5635 GB, free: 33.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3884, allocations: 5.5 kB / 0.5635 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3884, allocations: 0.75 kB / 0.5635 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3884, allocations: 5.312 kB / 0.5635 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.936e-05/0.3885, allocations: 1.938 kB / 0.5635 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3885, allocations: 0 / 0.5635 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.3885, allocations: 1.594 kB / 0.5635 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3885, allocations: 6.031 kB / 0.5635 GB, free: 33.58 MB / 446.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 (1): * Single equations (assignments): 1 * 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 4.231e-05/0.3885, allocations: 108.7 kB / 0.5636 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.3886, allocations: 1.062 kB / 0.5636 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.3886, allocations: 49.03 kB / 0.5636 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3887, allocations: 1.469 kB / 0.5636 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3887, allocations: 1.031 kB / 0.5636 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3887, allocations: 0.9844 kB / 0.5636 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.18e-05/0.3887, allocations: 144.1 kB / 0.5638 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3887, allocations: 4.109 kB / 0.5638 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.3887, allocations: 1.438 kB / 0.5638 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3888, allocations: 0 / 0.5638 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3888, allocations: 5.062 kB / 0.5638 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3888, allocations: 0.75 kB / 0.5638 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3888, allocations: 0.7031 kB / 0.5638 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.448e-05/0.3888, allocations: 63.42 kB / 0.5638 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.3889, allocations: 79.31 kB / 0.5639 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.3889, allocations: 5.125 kB / 0.5639 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.3889, allocations: 1.875 kB / 0.5639 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.3889, allocations: 8.578 kB / 0.5639 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.3889, allocations: 1.844 kB / 0.5639 GB, free: 33.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.444e-05/0.3889, allocations: 80.03 kB / 0.564 GB, free: 32.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.389, allocations: 0 / 0.564 GB, free: 32.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.3891, allocations: 12.41 kB / 0.564 GB, free: 32.98 MB / 446.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 (1): * Single equations (assignments): 1 * 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.0001557/0.3893, allocations: 113.4 kB / 0.5641 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.835e-05/0.3894, allocations: 3.797 kB / 0.5641 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3894, allocations: 1 kB / 0.5641 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-06/0.3894, allocations: 6.875 kB / 0.5641 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3895, allocations: 2.375 kB / 0.5641 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001551/0.3897, allocations: 100.1 kB / 0.5642 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.3898, allocations: 0.6706 MB / 0.5649 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.019e-05/0.3898, allocations: 18.41 kB / 0.5649 GB, free: 32.05 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3898, allocations: 0 / 0.5649 GB, free: 32.05 MB / 446.1 MB Notification: Performance of Templates: time 0.002081/0.3919, allocations: 459.8 kB / 0.5653 GB, free: 32.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)