Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.007505/0.007506, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001974/0.001974, allocations: 196 kB / 16.67 MB, free: 6.355 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8375/0.8375, allocations: 132.2 MB / 422.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 65.42 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001804/0.1767, allocations: 0.5903 MB / 0.6598 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.1776, allocations: 349.3 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.1776, allocations: 0 / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.1776, allocations: 0 / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.236e-05/0.1777, allocations: 3.938 kB / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.1781, allocations: 119.3 kB / 0.6603 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.1782, allocations: 7.984 kB / 0.6603 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1782, allocations: 4 kB / 0.6603 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.868e-05/0.1783, allocations: 4 kB / 0.6603 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.1783, allocations: 3.938 kB / 0.6603 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1783, allocations: 0 / 0.6603 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.1788, allocations: 275.6 kB / 0.6605 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1788, allocations: 3.984 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.1788, allocations: 4 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.179, allocations: 95.95 kB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.179, allocations: 0 / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.179, allocations: 0 / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.179, allocations: 0 / 0.6606 GB, free: 12.52 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004281/0.1795, allocations: 343.3 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1795, allocations: 8.031 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.1796, allocations: 38.69 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.1796, allocations: 4.891 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1798, allocations: 164.4 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1798, allocations: 384 / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1798, allocations: 8.375 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.1799, allocations: 34.25 kB / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1799, allocations: 3.938 kB / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1799, allocations: 3.984 kB / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.18, allocations: 0 / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.18, allocations: 4 kB / 0.6612 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.1802, allocations: 153.7 kB / 0.6614 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.1802, allocations: 30.52 kB / 0.6614 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.1803, allocations: 4.859 kB / 0.6614 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/0.181, allocations: 461.5 kB / 0.6619 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.1811, allocations: 34.56 kB / 0.6619 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1811, allocations: 0 / 0.6619 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006174/0.1817, allocations: 258.2 kB / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1818, allocations: 55.41 kB / 0.6622 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.1818, allocations: 90.08 kB / 0.6623 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.1819, allocations: 33.83 kB / 0.6623 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.1819, allocations: 88.08 kB / 0.6624 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.182, allocations: 11.88 kB / 0.6624 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.182, allocations: 17.72 kB / 0.6624 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1822, allocations: 310.8 kB / 0.6627 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.1822, allocations: 4 kB / 0.6627 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.1822, allocations: 25.64 kB / 0.6627 GB, free: 10 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.1823, allocations: 29.72 kB / 0.6628 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1823, allocations: 0 / 0.6628 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.1824, allocations: 53.62 kB / 0.6628 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1824, allocations: 7.938 kB / 0.6628 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1824, allocations: 0 / 0.6628 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1824, allocations: 0 / 0.6628 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.1825, allocations: 8 kB / 0.6628 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1825, allocations: 0 / 0.6628 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.1825, allocations: 4.062 kB / 0.6628 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1826, allocations: 4 kB / 0.6628 GB, free: 9.883 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001658/0.1827, allocations: 114.5 kB / 0.663 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1828, allocations: 11.89 kB / 0.663 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1829, allocations: 53.12 kB / 0.663 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1829, allocations: 0 / 0.663 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1829, allocations: 0 / 0.663 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1829, allocations: 4 kB / 0.663 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1831, allocations: 153.7 kB / 0.6632 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1831, allocations: 4 kB / 0.6632 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.1831, allocations: 4 kB / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1831, allocations: 3.938 kB / 0.6632 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1832, allocations: 7.984 kB / 0.6632 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1832, allocations: 0 / 0.6632 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1832, allocations: 0 / 0.6632 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.1833, allocations: 81.06 kB / 0.6633 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.1834, allocations: 81.28 kB / 0.6633 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1834, allocations: 4.031 kB / 0.6633 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.1834, allocations: 0 / 0.6633 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1835, allocations: 7.969 kB / 0.6634 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1835, allocations: 8 kB / 0.6634 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.1835, allocations: 75.28 kB / 0.6634 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.104e-06/0.1835, allocations: 0 / 0.6634 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002264/0.1838, allocations: 27.88 kB / 0.6635 GB, free: 9.145 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000557/0.1843, allocations: 0.6398 MB / 0.6641 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.1844, allocations: 19.92 kB / 0.6641 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1844, allocations: 7.938 kB / 0.6641 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.1845, allocations: 4 kB / 0.6641 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.1846, allocations: 9.75 kB / 0.6641 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1858, allocations: 1.131 MB / 0.6652 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1862, allocations: 0.6729 MB / 0.6659 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.1862, allocations: 4 kB / 0.6659 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1863, allocations: 15.42 kB / 0.6659 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1863, allocations: 0 / 0.6659 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2111, allocations: 1.723 MB / 0.6676 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/7.971, allocations: 3 kB / 0.6676 GB, free: 4.918 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_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_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)