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.005465/0.005465, allocations: 100.8 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.001153/0.001153, allocations: 202.4 kB / 16.68 MB, free: 5.965 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7828/0.7828, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.92 kB / 0.5809 GB, free: 1.047 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 80.19 MB / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002036/0.1777, allocations: 0.6275 MB / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.1785, allocations: 353.5 kB / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.1785, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.1785, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.1786, allocations: 3.938 kB / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.1792, allocations: 115.7 kB / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.1793, allocations: 15.98 kB / 0.6603 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1793, allocations: 8 kB / 0.6603 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.1794, allocations: 15.92 kB / 0.6603 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.1795, allocations: 15.92 kB / 0.6604 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1795, allocations: 4 kB / 0.6604 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.1799, allocations: 271.7 kB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.1799, allocations: 3.984 kB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.1799, allocations: 15.92 kB / 0.6606 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1802, allocations: 107.9 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1802, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1802, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1802, allocations: 0 / 0.6607 GB, free: 12.37 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.0004737/0.1807, allocations: 367.2 kB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1807, allocations: 8.031 kB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.1808, allocations: 30.75 kB / 0.6611 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.1808, allocations: 4.938 kB / 0.6611 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.181, allocations: 164.3 kB / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.181, allocations: 8.375 kB / 0.6613 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.181, allocations: 8.312 kB / 0.6613 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1812, allocations: 58.17 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1812, allocations: 3.938 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1812, allocations: 4 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1812, allocations: 4 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.1813, allocations: 23.92 kB / 0.6614 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.1815, allocations: 161.7 kB / 0.6615 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1816, allocations: 54.56 kB / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.1817, allocations: 24.84 kB / 0.6616 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.1824, allocations: 465.7 kB / 0.6621 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1824, allocations: 30.56 kB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.1824, allocations: 3.938 kB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001522/0.184, allocations: 0.6032 MB / 0.6627 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.184, allocations: 51.41 kB / 0.6627 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.1841, allocations: 93.86 kB / 0.6628 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1841, allocations: 29.7 kB / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.1842, allocations: 84.14 kB / 0.6629 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.1842, allocations: 43.67 kB / 0.663 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.1843, allocations: 29.7 kB / 0.663 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1844, allocations: 314.8 kB / 0.6633 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.1845, allocations: 19.98 kB / 0.6633 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.1845, allocations: 27.98 kB / 0.6634 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1846, allocations: 54.48 kB / 0.6634 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1846, allocations: 0 / 0.6634 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001738/0.1848, allocations: 104.9 kB / 0.6635 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1848, allocations: 8 kB / 0.6635 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1849, allocations: 7.984 kB / 0.6635 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1849, allocations: 0 / 0.6635 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.185, allocations: 16 kB / 0.6635 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.185, allocations: 0 / 0.6635 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.185, allocations: 4 kB / 0.6635 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1851, allocations: 4 kB / 0.6635 GB, free: 9.086 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 8.856e-05/0.1852, allocations: 122.4 kB / 0.6637 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1852, allocations: 12.08 kB / 0.6637 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.1854, allocations: 105.6 kB / 0.6638 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1854, allocations: 4 kB / 0.6638 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1854, allocations: 4 kB / 0.6638 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1854, allocations: 3.984 kB / 0.6638 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1858, allocations: 354.5 kB / 0.6641 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1859, allocations: 7.922 kB / 0.6641 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.186, allocations: 16 kB / 0.6641 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.186, allocations: 0 / 0.6641 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.186, allocations: 4 kB / 0.6642 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.186, allocations: 0 / 0.6642 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.186, allocations: 4 kB / 0.6642 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1863, allocations: 221.5 kB / 0.6644 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.1864, allocations: 89.12 kB / 0.6645 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1864, allocations: 4 kB / 0.6645 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.1865, allocations: 0 / 0.6645 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.1865, allocations: 11.98 kB / 0.6645 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1865, allocations: 4 kB / 0.6645 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.1866, allocations: 83.28 kB / 0.6645 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1866, allocations: 0 / 0.6645 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002848/0.1868, allocations: 47.86 kB / 0.6646 GB, free: 7.895 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.0006386/0.1875, allocations: 0.7865 MB / 0.6654 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1877, allocations: 67.91 kB / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1877, allocations: 4.062 kB / 0.6654 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.757e-05/0.1877, allocations: 37.78 kB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.188, allocations: 12.56 kB / 0.6655 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1894, allocations: 1.382 MB / 0.6668 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1897, allocations: 0.6885 MB / 0.6675 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.982e-05/0.1898, allocations: 12 kB / 0.6675 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1898, allocations: 19.42 kB / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1898, allocations: 0 / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.2127, allocations: 2.459 MB / 0.6699 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.738, allocations: 12.83 kB / 0.6699 GB, free: 2.441 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)