Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_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_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.001806/0.001805, allocations: 112.5 kB / 15.74 MB, free: 68 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.002047/0.002048, allocations: 195.2 kB / 16.67 MB, free: 6.582 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 72.12 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4139, allocations: 80.2 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001531/0.4155, allocations: 0.6181 MB / 0.6598 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005898/0.4161, allocations: 348.3 kB / 0.6602 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.4161, allocations: 4 kB / 0.6602 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.4161, allocations: 0 / 0.6602 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.4162, allocations: 5.094 kB / 0.6602 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.4166, allocations: 111.1 kB / 0.6603 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.4167, allocations: 21.94 kB / 0.6603 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.4167, allocations: 7.297 kB / 0.6603 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.4167, allocations: 15.22 kB / 0.6603 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.4168, allocations: 18.06 kB / 0.6603 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.4168, allocations: 2.594 kB / 0.6603 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.4172, allocations: 272.8 kB / 0.6606 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.4172, allocations: 10.53 kB / 0.6606 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.4172, allocations: 13.98 kB / 0.6606 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.4174, allocations: 102.8 kB / 0.6607 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4174, allocations: 0 / 0.6607 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4174, allocations: 1.281 kB / 0.6607 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4175, allocations: 0.7969 kB / 0.6607 GB, free: 9.078 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.000343/0.4178, allocations: 364.5 kB / 0.6611 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4178, allocations: 13.59 kB / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.4179, allocations: 33.31 kB / 0.6611 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.4179, allocations: 3.781 kB / 0.6611 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.418, allocations: 166.9 kB / 0.6613 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.418, allocations: 1.406 kB / 0.6613 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.4181, allocations: 13.05 kB / 0.6613 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4182, allocations: 54.44 kB / 0.6613 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4182, allocations: 3.938 kB / 0.6613 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.4182, allocations: 5.25 kB / 0.6614 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4182, allocations: 5.281 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.4183, allocations: 18.59 kB / 0.6614 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.4184, allocations: 159 kB / 0.6615 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.4185, allocations: 56.02 kB / 0.6616 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.4185, allocations: 29.31 kB / 0.6616 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/0.4191, allocations: 466.1 kB / 0.6621 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4191, allocations: 31.41 kB / 0.6621 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4191, allocations: 0.6875 kB / 0.6621 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001134/0.4203, allocations: 0.601 MB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.4203, allocations: 54.19 kB / 0.6627 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.4203, allocations: 99.12 kB / 0.6628 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.4204, allocations: 27.08 kB / 0.6628 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.434e-05/0.4204, allocations: 84.75 kB / 0.6629 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.4204, allocations: 40.19 kB / 0.663 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.4205, allocations: 31.56 kB / 0.663 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.4205, allocations: 314.2 kB / 0.6633 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.4206, allocations: 23.17 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.4206, allocations: 22.41 kB / 0.6633 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.205e-05/0.4207, allocations: 59.12 kB / 0.6634 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4207, allocations: 0.5156 kB / 0.6634 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001418/0.4208, allocations: 106 kB / 0.6635 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4209, allocations: 4.906 kB / 0.6635 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4209, allocations: 5.438 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4209, allocations: 0.7031 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.421, allocations: 20.78 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.421, allocations: 0.5156 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.421, allocations: 1.188 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.421, allocations: 6.656 kB / 0.6635 GB, free: 6.332 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 4.992e-05/0.4211, allocations: 117.8 kB / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.4211, allocations: 12.27 kB / 0.6637 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.4213, allocations: 105 kB / 0.6638 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4213, allocations: 5.406 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4213, allocations: 2 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4213, allocations: 0.5156 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.4216, allocations: 353 kB / 0.6641 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4216, allocations: 0 / 0.6641 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4217, allocations: 24.44 kB / 0.6641 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4218, allocations: 0.5625 kB / 0.6641 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.4218, allocations: 2.438 kB / 0.6641 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4218, allocations: 0.6562 kB / 0.6641 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4218, allocations: 4 kB / 0.6641 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.422, allocations: 224.5 kB / 0.6643 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.422, allocations: 83.17 kB / 0.6644 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4221, allocations: 10.39 kB / 0.6644 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.4221, allocations: 2.172 kB / 0.6644 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.4222, allocations: 6.219 kB / 0.6644 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4222, allocations: 7.719 kB / 0.6644 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.4222, allocations: 82.92 kB / 0.6645 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4222, allocations: 0 / 0.6645 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002663/0.4225, allocations: 43.42 kB / 0.6646 GB, free: 5.422 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.0004731/0.4229, allocations: 0.7957 MB / 0.6653 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.4231, allocations: 57.39 kB / 0.6654 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4231, allocations: 8 kB / 0.6654 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.904e-05/0.4232, allocations: 33.16 kB / 0.6654 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.4234, allocations: 3.047 kB / 0.6654 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.4244, allocations: 1.404 MB / 0.6668 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.4245, allocations: 0.6882 MB / 0.6675 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.4245, allocations: 9.953 kB / 0.6675 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.4246, allocations: 24.92 kB / 0.6675 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4246, allocations: 3.938 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.4489, allocations: 2.466 MB / 0.6699 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.262, allocations: 12.34 kB / 0.6699 GB, free: 1.398 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)