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.0009576/0.0009574, allocations: 93.66 kB / 16.02 MB, free: 84 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.001237/0.001236, allocations: 179.8 kB / 16.92 MB, free: 6.684 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7749/0.7749, allocations: 123 MB / 415.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000525/0.000525, allocations: 12 kB / 0.4933 GB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4882, allocations: 79.28 MB / 0.5708 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.000889/0.4892, allocations: 310.6 kB / 0.571 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.49, allocations: 349.5 kB / 0.5714 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.378e-06/0.49, allocations: 2.438 kB / 0.5714 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.086e-05/0.49, allocations: 0 / 0.5714 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.49, allocations: 0 / 0.5714 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.4904, allocations: 72.92 kB / 0.5715 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.366e-05/0.4904, allocations: 3.734 kB / 0.5715 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.4905, allocations: 5.734 kB / 0.5715 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.397e-05/0.4905, allocations: 4.438 kB / 0.5715 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.352e-05/0.4905, allocations: 0.7031 kB / 0.5715 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.4906, allocations: 1.531 kB / 0.5715 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.4911, allocations: 271.4 kB / 0.5717 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.4911, allocations: 2.109 kB / 0.5717 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.4911, allocations: 26.33 kB / 0.5718 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.4914, allocations: 83.83 kB / 0.5718 GB, free: 9.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4914, allocations: 1.375 kB / 0.5718 GB, free: 9.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4914, allocations: 0 / 0.5718 GB, free: 9.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4914, allocations: 0 / 0.5718 GB, free: 9.805 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003103/0.4917, allocations: 340.6 kB / 0.5722 GB, free: 9.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4918, allocations: 9.281 kB / 0.5722 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.4918, allocations: 1.688 kB / 0.5722 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.4919, allocations: 164 kB / 0.5723 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.492, allocations: 384 / 0.5723 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.492, allocations: 1.641 kB / 0.5723 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4921, allocations: 33.91 kB / 0.5724 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4921, allocations: 192 / 0.5724 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4921, allocations: 4.812 kB / 0.5724 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.4921, allocations: 4.797 kB / 0.5724 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.4922, allocations: 2.094 kB / 0.5724 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.4923, allocations: 146.6 kB / 0.5725 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.4924, allocations: 17.3 kB / 0.5725 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.4924, allocations: 7.109 kB / 0.5725 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.4929, allocations: 427.9 kB / 0.5729 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.493, allocations: 32.52 kB / 0.573 GB, free: 8.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.493, allocations: 3.938 kB / 0.573 GB, free: 8.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000177/0.4932, allocations: 38.58 kB / 0.573 GB, free: 8.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.4932, allocations: 56.22 kB / 0.5731 GB, free: 8.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.45e-05/0.4932, allocations: 91.06 kB / 0.5732 GB, free: 8.266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.4932, allocations: 29.83 kB / 0.5732 GB, free: 8.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.667e-05/0.4933, allocations: 81.3 kB / 0.5733 GB, free: 8.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4933, allocations: 5.781 kB / 0.5733 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.4933, allocations: 12.47 kB / 0.5733 GB, free: 8.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.4934, allocations: 311.6 kB / 0.5736 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.4934, allocations: 5.375 kB / 0.5736 GB, free: 7.812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.4934, allocations: 1.75 kB / 0.5736 GB, free: 7.812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.4935, allocations: 12.84 kB / 0.5736 GB, free: 7.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4935, allocations: 4.906 kB / 0.5736 GB, free: 7.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.986e-05/0.4935, allocations: 33.62 kB / 0.5736 GB, free: 7.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4936, allocations: 5.516 kB / 0.5736 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4936, allocations: 1.188 kB / 0.5736 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4936, allocations: 3.938 kB / 0.5736 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.457e-05/0.4937, allocations: 2.375 kB / 0.5736 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4937, allocations: 0 / 0.5736 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.4937, allocations: 1.844 kB / 0.5736 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.4937, allocations: 0 / 0.5736 GB, free: 7.762 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 (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 5.816e-05/0.4938, allocations: 113.5 kB / 0.5738 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.4938, allocations: 1.406 kB / 0.5738 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.912e-05/0.4939, allocations: 44.89 kB / 0.5738 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4939, allocations: 2.062 kB / 0.5738 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4939, allocations: 0 / 0.5738 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4939, allocations: 4.875 kB / 0.5738 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.016e-05/0.494, allocations: 145.4 kB / 0.5739 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.494, allocations: 0 / 0.5739 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.494, allocations: 3.234 kB / 0.5739 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.494, allocations: 4.031 kB / 0.574 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.494, allocations: 6.328 kB / 0.574 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.494, allocations: 0 / 0.574 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.494, allocations: 4.656 kB / 0.574 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.521e-05/0.4941, allocations: 60.2 kB / 0.574 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.4942, allocations: 78.81 kB / 0.5741 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.4942, allocations: 5.453 kB / 0.5741 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-06/0.4942, allocations: 4.031 kB / 0.5741 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.4942, allocations: 6.812 kB / 0.5741 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4942, allocations: 1.094 kB / 0.5741 GB, free: 7.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.355e-05/0.4943, allocations: 79.28 kB / 0.5742 GB, free: 7.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4943, allocations: 0 / 0.5742 GB, free: 7.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.4945, allocations: 11.95 kB / 0.5742 GB, free: 7.152 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 (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.0002045/0.4947, allocations: 113.1 kB / 0.5743 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.864e-05/0.4948, allocations: 9.828 kB / 0.5743 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4948, allocations: 0 / 0.5743 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.756e-06/0.4948, allocations: 1.75 kB / 0.5743 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.495, allocations: 2.75 kB / 0.5743 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.4952, allocations: 79.98 kB / 0.5744 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.4953, allocations: 0.6716 MB / 0.5751 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.849e-05/0.4953, allocations: 4.875 kB / 0.5751 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.105e-05/0.4953, allocations: 7.953 kB / 0.5751 GB, free: 6.254 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4953, allocations: 5 kB / 0.5751 GB, free: 6.25 MB / 430.1 MB Notification: Performance of Templates: time 0.002687/0.498, allocations: 445.9 kB / 0.5755 GB, free: 6.203 MB / 430.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)