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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 106.9 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8451/0.8451, allocations: 133.9 MB / 442.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.22 kB / 0.6135 GB, free: 8.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1699, allocations: 85.85 MB / 0.6973 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002133/0.1721, allocations: 0.5965 MB / 0.6979 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.1728, allocations: 347.1 kB / 0.6982 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.1728, allocations: 4 kB / 0.6982 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1729, allocations: 0 / 0.6982 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.158e-05/0.1729, allocations: 3.938 kB / 0.6982 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.1734, allocations: 110.2 kB / 0.6983 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.1734, allocations: 8 kB / 0.6983 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.1735, allocations: 0 / 0.6983 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.1735, allocations: 4 kB / 0.6983 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.1736, allocations: 15.92 kB / 0.6984 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1736, allocations: 0 / 0.6984 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.174, allocations: 267.7 kB / 0.6986 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.174, allocations: 7.984 kB / 0.6986 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.174, allocations: 4 kB / 0.6986 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1742, allocations: 95.94 kB / 0.6987 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1742, allocations: 0 / 0.6987 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.424e-06/0.1742, allocations: 0 / 0.6987 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1742, allocations: 4 kB / 0.6987 GB, free: 1.477 MB / 0.5137 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.0004243/0.1747, allocations: 339.2 kB / 0.699 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1747, allocations: 17.11 kB / 0.6991 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.1747, allocations: 34.75 kB / 0.6991 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.1748, allocations: 0.9375 kB / 0.6991 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.175, allocations: 172.3 kB / 0.6993 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.175, allocations: 384 / 0.6993 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.175, allocations: 384 / 0.6993 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.1751, allocations: 30.27 kB / 0.6993 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1751, allocations: 7.922 kB / 0.6993 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1751, allocations: 4 kB / 0.6993 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1751, allocations: 4 kB / 0.6993 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.1751, allocations: 7.984 kB / 0.6993 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1753, allocations: 153.6 kB / 0.6995 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.1754, allocations: 26.59 kB / 0.6995 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.1754, allocations: 4.859 kB / 0.6995 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/0.1762, allocations: 461.5 kB / 0.6999 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1762, allocations: 34.56 kB / 0.7 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1762, allocations: 0 / 0.7 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000592/0.1768, allocations: 262.4 kB / 0.7002 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1768, allocations: 51.41 kB / 0.7003 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.1769, allocations: 97.84 kB / 0.7004 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1769, allocations: 29.7 kB / 0.7004 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.177, allocations: 80.14 kB / 0.7005 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.177, allocations: 7.906 kB / 0.7005 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.177, allocations: 17.72 kB / 0.7005 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1772, allocations: 319 kB / 0.7008 GB, free: 15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.1772, allocations: 11.94 kB / 0.7008 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.1772, allocations: 13.72 kB / 0.7008 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.126e-05/0.1773, allocations: 25.72 kB / 0.7008 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1773, allocations: 3.984 kB / 0.7008 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.1774, allocations: 53.67 kB / 0.7009 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1774, allocations: 7.938 kB / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1774, allocations: 0 / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1774, allocations: 4 kB / 0.7009 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.1775, allocations: 7.984 kB / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1775, allocations: 0 / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.1775, allocations: 4 kB / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1775, allocations: 4 kB / 0.7009 GB, free: 14.84 MB / 0.5294 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 8.337e-05/0.1776, allocations: 105.8 kB / 0.701 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1776, allocations: 7.969 kB / 0.701 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1778, allocations: 61.12 kB / 0.7011 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1778, allocations: 3.984 kB / 0.7011 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1778, allocations: 0 / 0.7011 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1778, allocations: 0 / 0.7011 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1779, allocations: 153.7 kB / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1779, allocations: 0 / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.178, allocations: 4 kB / 0.7012 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.178, allocations: 7.938 kB / 0.7012 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.178, allocations: 4 kB / 0.7013 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.178, allocations: 0 / 0.7013 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.178, allocations: 3.938 kB / 0.7013 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1782, allocations: 77.3 kB / 0.7013 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1782, allocations: 88.98 kB / 0.7014 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1782, allocations: 8.016 kB / 0.7014 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.1783, allocations: 4 kB / 0.7014 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.1783, allocations: 0 / 0.7014 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1783, allocations: 8.062 kB / 0.7014 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.1783, allocations: 75.28 kB / 0.7015 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1783, allocations: 0 / 0.7015 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002258/0.1785, allocations: 27.92 kB / 0.7015 GB, free: 14.11 MB / 0.5294 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.000646/0.1792, allocations: 0.6515 MB / 0.7022 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1793, allocations: 11.98 kB / 0.7022 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1793, allocations: 4 kB / 0.7022 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.1793, allocations: 4 kB / 0.7022 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.1795, allocations: 4 kB / 0.7022 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1807, allocations: 1.131 MB / 0.7033 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1811, allocations: 0.6844 MB / 0.704 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.1811, allocations: 4.062 kB / 0.704 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1811, allocations: 11.44 kB / 0.704 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1811, allocations: 0 / 0.704 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.2072, allocations: 1.722 MB / 0.7057 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.984, allocations: 1.875 kB / 0.7057 GB, free: 9.875 MB / 0.5294 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.637628259995836] Failed to read output from testmodel.py, exit status != 0: 8.053880921012023 8.081363577 7.902152971 Calling exit ...