Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.008557/0.008557, allocations: 98.3 kB / 15.73 MB, free: 6.039 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.00216/0.00216, allocations: 185.6 kB / 16.67 MB, free: 5.961 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8038/0.8038, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 63.89 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4571, allocations: 80.2 MB / 0.6592 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001724/0.4588, allocations: 0.5835 MB / 0.6598 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.4595, allocations: 348.1 kB / 0.6601 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.4595, allocations: 4 kB / 0.6601 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.4595, allocations: 0 / 0.6601 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.948e-05/0.4596, allocations: 3.938 kB / 0.6601 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.46, allocations: 108.5 kB / 0.6602 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.814e-05/0.4601, allocations: 6.266 kB / 0.6603 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.4601, allocations: 1.891 kB / 0.6603 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.4602, allocations: 7.672 kB / 0.6603 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.4602, allocations: 14.16 kB / 0.6603 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.4602, allocations: 1.281 kB / 0.6603 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.4606, allocations: 276.8 kB / 0.6605 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.4607, allocations: 1.984 kB / 0.6605 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.4607, allocations: 1.125 kB / 0.6605 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.4609, allocations: 94.47 kB / 0.6606 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4609, allocations: 0 / 0.6606 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4609, allocations: 3.938 kB / 0.6606 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4609, allocations: 1.156 kB / 0.6606 GB, free: 9.191 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003026/0.4612, allocations: 343.5 kB / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4613, allocations: 13.66 kB / 0.661 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.297e-05/0.4613, allocations: 31.41 kB / 0.661 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.4613, allocations: 6.109 kB / 0.661 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.4614, allocations: 163.5 kB / 0.6612 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4615, allocations: 5.75 kB / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4615, allocations: 1.938 kB / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.188e-05/0.4616, allocations: 36.23 kB / 0.6612 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.4616, allocations: 3.938 kB / 0.6612 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.4616, allocations: 1.375 kB / 0.6612 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4616, allocations: 4 kB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.4616, allocations: 7.531 kB / 0.6612 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.4618, allocations: 151 kB / 0.6614 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.4618, allocations: 25.16 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.4618, allocations: 15.95 kB / 0.6614 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.4624, allocations: 457.2 kB / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.4625, allocations: 32.64 kB / 0.6619 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4625, allocations: 0 / 0.6619 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004436/0.4629, allocations: 259 kB / 0.6621 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.463, allocations: 52.02 kB / 0.6622 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.897e-05/0.463, allocations: 97.95 kB / 0.6623 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.463, allocations: 27.08 kB / 0.6623 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.421e-05/0.463, allocations: 84.75 kB / 0.6624 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.4631, allocations: 10.11 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.4631, allocations: 22.78 kB / 0.6624 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.4631, allocations: 317.8 kB / 0.6627 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.4632, allocations: 4.656 kB / 0.6627 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.4632, allocations: 19.75 kB / 0.6627 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.4632, allocations: 23.62 kB / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.4632, allocations: 0 / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.145e-05/0.4633, allocations: 56.91 kB / 0.6628 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4634, allocations: 9.625 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4634, allocations: 0.6562 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4634, allocations: 1.438 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.4634, allocations: 6.469 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4635, allocations: 1.984 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.4635, allocations: 0 / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4635, allocations: 2.312 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB 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 4.426e-05/0.4635, allocations: 112.6 kB / 0.6629 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.4636, allocations: 15.25 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.4637, allocations: 54.03 kB / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4637, allocations: 1.594 kB / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4637, allocations: 0.6094 kB / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4637, allocations: 0 / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.685e-05/0.4638, allocations: 154.1 kB / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4638, allocations: 0 / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.4638, allocations: 5.375 kB / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4639, allocations: 4.734 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.4639, allocations: 5.031 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4639, allocations: 1.219 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4639, allocations: 0 / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.464, allocations: 84.34 kB / 0.6633 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.464, allocations: 81.84 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.464, allocations: 0.8438 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.4641, allocations: 2 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.4641, allocations: 2.734 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4641, allocations: 13.55 kB / 0.6633 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.824e-05/0.4641, allocations: 82.39 kB / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4641, allocations: 0 / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002168/0.4644, allocations: 23.61 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB 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.0003526/0.4647, allocations: 0.6552 MB / 0.6641 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.26e-05/0.4648, allocations: 17.88 kB / 0.6641 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4648, allocations: 0 / 0.6641 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.4648, allocations: 6.719 kB / 0.6641 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.465, allocations: 6.969 kB / 0.6641 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.4657, allocations: 1.132 MB / 0.6652 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.781e-05/0.4658, allocations: 0.6772 MB / 0.6659 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.4658, allocations: 7.344 kB / 0.6659 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.4658, allocations: 12.66 kB / 0.6659 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4658, allocations: 1.312 kB / 0.6659 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.484, allocations: 1.714 MB / 0.6676 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.737, allocations: 2.219 kB / 0.6676 GB, free: 2.832 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)