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.001535/0.001535, allocations: 108 kB / 15.61 MB, free: 152 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.001761/0.001761, allocations: 197 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8019/0.8019, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.38 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1451, allocations: 80.21 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001641/0.1468, allocations: 0.6035 MB / 0.5808 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006073/0.1474, allocations: 346.7 kB / 0.5811 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.1474, allocations: 3.938 kB / 0.5811 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.1474, allocations: 3.938 kB / 0.5811 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.1475, allocations: 0 / 0.5811 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.1479, allocations: 130.5 kB / 0.5813 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.1479, allocations: 19.92 kB / 0.5813 GB, free: 7.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.148, allocations: 8 kB / 0.5813 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.148, allocations: 11.98 kB / 0.5813 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.1481, allocations: 11.92 kB / 0.5813 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1481, allocations: 4 kB / 0.5813 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.1484, allocations: 267.7 kB / 0.5816 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.1485, allocations: 15.92 kB / 0.5816 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.1485, allocations: 7.938 kB / 0.5816 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1487, allocations: 107.8 kB / 0.5817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1487, allocations: 0 / 0.5817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1487, allocations: 0 / 0.5817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1487, allocations: 4 kB / 0.5817 GB, free: 7.145 MB / 494.1 MB 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.0003724/0.1491, allocations: 355.7 kB / 0.582 GB, free: 6.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1491, allocations: 12.03 kB / 0.5821 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.1491, allocations: 34.75 kB / 0.5821 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1492, allocations: 4.938 kB / 0.5821 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.1493, allocations: 164.4 kB / 0.5822 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1493, allocations: 4.375 kB / 0.5823 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1493, allocations: 8.281 kB / 0.5823 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1495, allocations: 50.19 kB / 0.5823 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1495, allocations: 7.938 kB / 0.5823 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1495, allocations: 0 / 0.5823 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1495, allocations: 4 kB / 0.5823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.1496, allocations: 19.97 kB / 0.5823 GB, free: 6.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1497, allocations: 165.7 kB / 0.5825 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.809e-05/0.1498, allocations: 62.5 kB / 0.5826 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.1499, allocations: 32.84 kB / 0.5826 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006468/0.1505, allocations: 457.5 kB / 0.583 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1506, allocations: 34.56 kB / 0.5831 GB, free: 5.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.1506, allocations: 4 kB / 0.5831 GB, free: 5.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001186/0.1518, allocations: 0.5917 MB / 0.5836 GB, free: 4.805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.1518, allocations: 51.41 kB / 0.5837 GB, free: 4.742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.1519, allocations: 101.8 kB / 0.5838 GB, free: 4.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1519, allocations: 29.7 kB / 0.5838 GB, free: 4.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.1519, allocations: 80.14 kB / 0.5839 GB, free: 4.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.152, allocations: 47.36 kB / 0.5839 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.152, allocations: 21.72 kB / 0.584 GB, free: 4.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.1521, allocations: 322.8 kB / 0.5843 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.1522, allocations: 16 kB / 0.5843 GB, free: 4.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.1522, allocations: 25.75 kB / 0.5843 GB, free: 4.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.862e-05/0.1523, allocations: 64.8 kB / 0.5844 GB, free: 4.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1523, allocations: 4 kB / 0.5844 GB, free: 4.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001582/0.1525, allocations: 96.36 kB / 0.5845 GB, free: 3.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1525, allocations: 4 kB / 0.5845 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1525, allocations: 0 / 0.5845 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1525, allocations: 4 kB / 0.5845 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1526, allocations: 19.98 kB / 0.5845 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1526, allocations: 0 / 0.5845 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.1527, allocations: 7.938 kB / 0.5845 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1527, allocations: 4 kB / 0.5845 GB, free: 3.871 MB / 494.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 (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.643e-05/0.1528, allocations: 122.5 kB / 0.5846 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1528, allocations: 11.84 kB / 0.5846 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.153, allocations: 109.6 kB / 0.5847 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.153, allocations: 0 / 0.5847 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.153, allocations: 4 kB / 0.5847 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.153, allocations: 0 / 0.5847 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.1534, allocations: 350.5 kB / 0.5851 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1534, allocations: 0 / 0.5851 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1535, allocations: 23.98 kB / 0.5851 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1535, allocations: 4 kB / 0.5851 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1535, allocations: 4 kB / 0.5851 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1535, allocations: 0 / 0.5851 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1535, allocations: 7.938 kB / 0.5851 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1538, allocations: 218.8 kB / 0.5853 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.1538, allocations: 85.12 kB / 0.5854 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1539, allocations: 4.094 kB / 0.5854 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.154, allocations: 11.92 kB / 0.5854 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.154, allocations: 8.062 kB / 0.5854 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.154, allocations: 0 / 0.5854 GB, free: 2.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.154, allocations: 87.27 kB / 0.5855 GB, free: 2.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.154, allocations: 0 / 0.5855 GB, free: 2.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1543, allocations: 44 kB / 0.5855 GB, free: 2.695 MB / 494.1 MB 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.0005954/0.1549, allocations: 0.7982 MB / 0.5863 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1551, allocations: 59.92 kB / 0.5864 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1551, allocations: 0 / 0.5864 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.1552, allocations: 39.86 kB / 0.5864 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1554, allocations: 9.719 kB / 0.5864 GB, free: 1.762 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1565, allocations: 1.385 MB / 0.5878 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1568, allocations: 0.6924 MB / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.1568, allocations: 8 kB / 0.5885 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1569, allocations: 15.44 kB / 0.5885 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1569, allocations: 0 / 0.5885 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.1747, allocations: 2.428 MB / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.38, allocations: 6.625 kB / 0.5909 GB, free: 13.25 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)