Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006079/0.006079, allocations: 101 kB / 15.73 MB, free: 6.445 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.001094/0.001094, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7401/0.7401, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 63.91 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4564, allocations: 80.22 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0015/0.4579, allocations: 0.5638 MB / 0.6598 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005835/0.4585, allocations: 333.7 kB / 0.6601 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.4585, allocations: 3.938 kB / 0.6601 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.4586, allocations: 0 / 0.6601 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.4586, allocations: 0 / 0.6601 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.459, allocations: 111.4 kB / 0.6602 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.929e-05/0.4591, allocations: 5.797 kB / 0.6602 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.4591, allocations: 1.531 kB / 0.6602 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.4591, allocations: 0.5625 kB / 0.6602 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.022e-05/0.4592, allocations: 1.25 kB / 0.6602 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.4592, allocations: 0 / 0.6602 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.4596, allocations: 275.8 kB / 0.6605 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.4596, allocations: 3.984 kB / 0.6605 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.4596, allocations: 1.094 kB / 0.6605 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.4598, allocations: 83.92 kB / 0.6606 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4598, allocations: 0.6562 kB / 0.6606 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4598, allocations: 3.938 kB / 0.6606 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.4598, allocations: 4 kB / 0.6606 GB, free: 9.164 MB / 0.4981 GB 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.0002337/0.4601, allocations: 331.8 kB / 0.6609 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4601, allocations: 10.12 kB / 0.6609 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.133e-05/0.4601, allocations: 30.75 kB / 0.6609 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.4602, allocations: 3.156 kB / 0.6609 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.907e-05/0.4602, allocations: 161.1 kB / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4603, allocations: 4.375 kB / 0.6611 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.4603, allocations: 1.312 kB / 0.6611 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.4604, allocations: 37.66 kB / 0.6611 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.4604, allocations: 3.938 kB / 0.6611 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.4604, allocations: 0 / 0.6611 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4604, allocations: 2.219 kB / 0.6611 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.4604, allocations: 1.812 kB / 0.6611 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.89e-05/0.4605, allocations: 143 kB / 0.6613 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.4606, allocations: 25.56 kB / 0.6613 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.4606, allocations: 6.922 kB / 0.6613 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/0.461, allocations: 423.9 kB / 0.6617 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.461, allocations: 37.16 kB / 0.6617 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.461, allocations: 3.938 kB / 0.6618 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.4611, allocations: 36.5 kB / 0.6618 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.4612, allocations: 56.19 kB / 0.6618 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.342e-05/0.4612, allocations: 89.86 kB / 0.6619 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-06/0.4612, allocations: 27.11 kB / 0.662 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-06/0.4612, allocations: 80.14 kB / 0.662 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.4612, allocations: 8.594 kB / 0.662 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.4613, allocations: 17.09 kB / 0.6621 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.4613, allocations: 310.8 kB / 0.6623 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.4613, allocations: 6 kB / 0.6624 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.4613, allocations: 5.562 kB / 0.6624 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.4614, allocations: 12.39 kB / 0.6624 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4614, allocations: 3.938 kB / 0.6624 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.785e-05/0.4614, allocations: 33.41 kB / 0.6624 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4614, allocations: 3.906 kB / 0.6624 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4615, allocations: 5.844 kB / 0.6624 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4615, allocations: 0 / 0.6624 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.4615, allocations: 2.531 kB / 0.6624 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4615, allocations: 0.6094 kB / 0.6624 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-06/0.4615, allocations: 4.094 kB / 0.6624 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4616, allocations: 1.469 kB / 0.6624 GB, free: 7.059 MB / 0.4981 GB 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 3.89e-05/0.4616, allocations: 111.8 kB / 0.6625 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.4616, allocations: 0.7969 kB / 0.6625 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.4617, allocations: 45.64 kB / 0.6626 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4617, allocations: 0 / 0.6626 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4617, allocations: 4 kB / 0.6626 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4617, allocations: 4.031 kB / 0.6626 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.446e-05/0.4618, allocations: 145.2 kB / 0.6627 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4618, allocations: 0 / 0.6627 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.4618, allocations: 7.391 kB / 0.6627 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4618, allocations: 0 / 0.6627 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4618, allocations: 4.688 kB / 0.6627 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4618, allocations: 1.5 kB / 0.6627 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4618, allocations: 0 / 0.6627 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.286e-05/0.4619, allocations: 60.72 kB / 0.6628 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.4619, allocations: 79.23 kB / 0.6629 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.4619, allocations: 4.547 kB / 0.6629 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-06/0.4619, allocations: 2.266 kB / 0.6629 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.462, allocations: 0 / 0.6629 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.462, allocations: 1.594 kB / 0.6629 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.366e-05/0.462, allocations: 79.89 kB / 0.663 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.462, allocations: 0 / 0.663 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002052/0.4622, allocations: 8.859 kB / 0.663 GB, free: 6.445 MB / 0.4981 GB 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.000282/0.4625, allocations: 0.6136 MB / 0.6636 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.857e-05/0.4626, allocations: 7.406 kB / 0.6636 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4626, allocations: 0 / 0.6636 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-06/0.4626, allocations: 3.125 kB / 0.6636 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.4627, allocations: 9.531 kB / 0.6636 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.463, allocations: 113.5 kB / 0.6637 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.4631, allocations: 0.6719 MB / 0.6643 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.4631, allocations: 1.344 kB / 0.6643 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.4632, allocations: 7.438 kB / 0.6644 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4632, allocations: 0 / 0.6644 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.4784, allocations: 1.171 MB / 0.6655 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.86, allocations: 3.578 kB / 0.6655 GB, free: 4.496 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)