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.007827/0.007828, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001401/0.001401, allocations: 196 kB / 16.68 MB, free: 5.977 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.425/1.425, 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.8127/0.8127, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 69.61 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1852, allocations: 80.19 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002015/0.1873, allocations: 0.6243 MB / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00073/0.1881, allocations: 349.3 kB / 0.6602 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.1881, allocations: 0 / 0.6602 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1882, allocations: 3.938 kB / 0.6602 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.1882, allocations: 0 / 0.6602 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.1888, allocations: 129 kB / 0.6603 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.1889, allocations: 15.98 kB / 0.6603 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.189, allocations: 8 kB / 0.6603 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.189, allocations: 7.938 kB / 0.6603 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.1891, allocations: 19.91 kB / 0.6604 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1891, allocations: 4 kB / 0.6604 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.1896, allocations: 267.7 kB / 0.6606 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.1896, allocations: 7.984 kB / 0.6606 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.1897, allocations: 11.94 kB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1899, allocations: 103.9 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.19, allocations: 0 / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.093e-06/0.19, allocations: 0 / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.19, allocations: 0 / 0.6607 GB, free: 12.46 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.0005469/0.1905, allocations: 363.2 kB / 0.6611 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1906, allocations: 12.03 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.1906, allocations: 34.75 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.1907, allocations: 4.938 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1909, allocations: 172.2 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1909, allocations: 4.375 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.191, allocations: 4.328 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1911, allocations: 54.25 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1912, allocations: 7.938 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1912, allocations: 3.938 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1912, allocations: 7.984 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.1913, allocations: 15.98 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.1915, allocations: 173.6 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1916, allocations: 58.5 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.1917, allocations: 28.84 kB / 0.6616 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.1924, allocations: 461.4 kB / 0.6621 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1925, allocations: 30.56 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1925, allocations: 0 / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001501/0.194, allocations: 0.5957 MB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.1941, allocations: 51.41 kB / 0.6627 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.1942, allocations: 97.84 kB / 0.6628 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1942, allocations: 29.7 kB / 0.6629 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1942, allocations: 88.14 kB / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1943, allocations: 35.69 kB / 0.663 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1944, allocations: 25.72 kB / 0.663 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1945, allocations: 318.8 kB / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.1946, allocations: 19.94 kB / 0.6633 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.1946, allocations: 31.98 kB / 0.6634 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1947, allocations: 54.72 kB / 0.6634 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1947, allocations: 0 / 0.6634 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000154/0.1949, allocations: 101.6 kB / 0.6635 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1949, allocations: 4 kB / 0.6635 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1949, allocations: 8 kB / 0.6635 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1949, allocations: 0 / 0.6635 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1951, allocations: 23.92 kB / 0.6635 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1951, allocations: 0 / 0.6635 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.1951, allocations: 8 kB / 0.6635 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1951, allocations: 0 / 0.6635 GB, free: 9.172 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 0.0001301/0.1953, allocations: 114.5 kB / 0.6637 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1953, allocations: 15.89 kB / 0.6637 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.1955, allocations: 109.5 kB / 0.6638 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1955, allocations: 4 kB / 0.6638 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1955, allocations: 96 / 0.6638 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1955, allocations: 4.125 kB / 0.6638 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.196, allocations: 346.5 kB / 0.6641 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.196, allocations: 7.938 kB / 0.6641 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1961, allocations: 23.92 kB / 0.6641 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1961, allocations: 3.984 kB / 0.6641 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1961, allocations: 4 kB / 0.6641 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1961, allocations: 8 kB / 0.6642 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1961, allocations: 0 / 0.6642 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1964, allocations: 214.7 kB / 0.6644 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.1965, allocations: 85.12 kB / 0.6644 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1965, allocations: 0 / 0.6644 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.1966, allocations: 11.98 kB / 0.6645 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.1966, allocations: 4 kB / 0.6645 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1966, allocations: 8.062 kB / 0.6645 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.1967, allocations: 83.27 kB / 0.6645 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.004e-06/0.1967, allocations: 0 / 0.6645 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00028/0.197, allocations: 43.81 kB / 0.6646 GB, free: 7.988 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.0007479/0.1977, allocations: 0.7901 MB / 0.6654 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1979, allocations: 75.92 kB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1979, allocations: 0 / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.198, allocations: 31.92 kB / 0.6655 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1982, allocations: 10.03 kB / 0.6655 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1997, allocations: 1.389 MB / 0.6668 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.2, allocations: 0.6846 MB / 0.6675 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.522e-05/0.2001, allocations: 15.98 kB / 0.6675 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.2001, allocations: 19.44 kB / 0.6675 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.2001, allocations: 0 / 0.6675 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.2228, allocations: 2.459 MB / 0.6699 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.596, allocations: 11.11 kB / 0.6699 GB, free: 2.527 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)