Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.005537/0.005537, allocations: 102.7 kB / 15.74 MB, free: 6.043 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.001227/0.001227, allocations: 192 kB / 16.67 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9571/0.9571, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 63.91 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4599, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001725/0.4617, allocations: 0.614 MB / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.4624, allocations: 356.9 kB / 0.6652 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.4624, allocations: 0 / 0.6652 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.4625, allocations: 0 / 0.6652 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.4625, allocations: 3.938 kB / 0.6652 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.463, allocations: 110.1 kB / 0.6653 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.4631, allocations: 22.44 kB / 0.6653 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.4631, allocations: 10.69 kB / 0.6653 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.4632, allocations: 12.83 kB / 0.6653 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.4632, allocations: 19.58 kB / 0.6653 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.4633, allocations: 1.625 kB / 0.6653 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.4637, allocations: 274.9 kB / 0.6656 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.4637, allocations: 5.391 kB / 0.6656 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.4637, allocations: 16.02 kB / 0.6656 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.4639, allocations: 99.59 kB / 0.6657 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4639, allocations: 5.188 kB / 0.6657 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.464, allocations: 0 / 0.6657 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.464, allocations: 0 / 0.6657 GB, free: 6.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004347/0.4644, allocations: 365.1 kB / 0.6661 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4645, allocations: 9.719 kB / 0.6661 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.4645, allocations: 31.88 kB / 0.6661 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.4646, allocations: 7.812 kB / 0.6661 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.4647, allocations: 169.8 kB / 0.6663 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4647, allocations: 5.969 kB / 0.6663 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.4647, allocations: 7.203 kB / 0.6663 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.4648, allocations: 53.73 kB / 0.6663 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4649, allocations: 3.938 kB / 0.6663 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4649, allocations: 5 kB / 0.6663 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4649, allocations: 5.312 kB / 0.6663 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.465, allocations: 18.23 kB / 0.6664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.4651, allocations: 170.3 kB / 0.6665 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.4652, allocations: 59.31 kB / 0.6666 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.4653, allocations: 25.56 kB / 0.6666 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/0.466, allocations: 460.7 kB / 0.667 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.466, allocations: 35.66 kB / 0.6671 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.466, allocations: 0 / 0.6671 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001352/0.4674, allocations: 0.5956 MB / 0.6677 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4674, allocations: 52.91 kB / 0.6677 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.4675, allocations: 97.88 kB / 0.6678 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.4675, allocations: 29.7 kB / 0.6678 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.4676, allocations: 81.36 kB / 0.6679 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.4676, allocations: 40.47 kB / 0.6679 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.4676, allocations: 25.78 kB / 0.668 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.4677, allocations: 320.4 kB / 0.6683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.4678, allocations: 16.56 kB / 0.6683 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.4678, allocations: 20.27 kB / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/0.4679, allocations: 58.45 kB / 0.6684 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4679, allocations: 96 / 0.6684 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001673/0.4681, allocations: 112.3 kB / 0.6685 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4681, allocations: 5.688 kB / 0.6685 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4681, allocations: 4 kB / 0.6685 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4682, allocations: 1.562 kB / 0.6685 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.4683, allocations: 21.7 kB / 0.6685 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4683, allocations: 0 / 0.6685 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.4683, allocations: 0.9062 kB / 0.6685 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4684, allocations: 10.84 kB / 0.6685 GB, free: 3.352 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 (13): * Single equations (assignments): 13 * 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 7.636e-05/0.4684, allocations: 119.4 kB / 0.6686 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.4685, allocations: 11.83 kB / 0.6686 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.4687, allocations: 107.2 kB / 0.6687 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4687, allocations: 1.75 kB / 0.6687 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4687, allocations: 0 / 0.6687 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4687, allocations: 0 / 0.6687 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.4691, allocations: 366.2 kB / 0.6691 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4691, allocations: 0 / 0.6691 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4692, allocations: 20.92 kB / 0.6691 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4692, allocations: 1.562 kB / 0.6691 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4692, allocations: 1.562 kB / 0.6691 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4692, allocations: 0 / 0.6691 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4692, allocations: 0 / 0.6691 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.4695, allocations: 226.4 kB / 0.6693 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.4696, allocations: 89.16 kB / 0.6694 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.4696, allocations: 0 / 0.6694 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.4697, allocations: 10.61 kB / 0.6694 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.4697, allocations: 6.688 kB / 0.6694 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4697, allocations: 3.812 kB / 0.6694 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.4698, allocations: 81.77 kB / 0.6695 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4698, allocations: 4.062 kB / 0.6695 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002945/0.4701, allocations: 40.06 kB / 0.6696 GB, free: 2.395 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0006322/0.4707, allocations: 0.7937 MB / 0.6703 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.4709, allocations: 58.27 kB / 0.6704 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4709, allocations: 1.438 kB / 0.6704 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.4709, allocations: 40.52 kB / 0.6704 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.4712, allocations: 12.19 kB / 0.6704 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4722, allocations: 1.399 MB / 0.6718 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4724, allocations: 0.6846 MB / 0.6725 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.989e-05/0.4725, allocations: 9.172 kB / 0.6725 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.4725, allocations: 20.41 kB / 0.6725 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.4725, allocations: 1.469 kB / 0.6725 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.4916, allocations: 2.472 MB / 0.6749 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/8.078, allocations: 6.344 kB / 0.6749 GB, free: 14.34 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)