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.001777/0.001777, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002318/0.002318, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9569/0.9569, allocations: 133.9 MB / 443.5 MB, free: 14 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",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.002075/0.002075, allocations: 66.84 kB / 0.6141 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1959, allocations: 85.86 MB / 0.698 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001846/0.1978, allocations: 0.5936 MB / 0.6986 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.1986, allocations: 345.7 kB / 0.6989 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1986, allocations: 0 / 0.6989 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.1986, allocations: 3.938 kB / 0.6989 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.081e-05/0.1986, allocations: 0 / 0.6989 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.1991, allocations: 115.5 kB / 0.699 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.1992, allocations: 12.06 kB / 0.699 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.1992, allocations: 1.375 kB / 0.699 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.638e-05/0.1993, allocations: 10.67 kB / 0.699 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.1993, allocations: 5.359 kB / 0.699 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1993, allocations: 1.375 kB / 0.699 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.1997, allocations: 269.9 kB / 0.6993 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1997, allocations: 5.359 kB / 0.6993 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.1998, allocations: 9.312 kB / 0.6993 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2, allocations: 92.73 kB / 0.6994 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2, allocations: 4 kB / 0.6994 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2, allocations: 0 / 0.6994 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2, allocations: 1.312 kB / 0.6994 GB, free: 12.59 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.000469/0.2004, allocations: 341.6 kB / 0.6997 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.2005, allocations: 11.86 kB / 0.6997 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.279e-05/0.2005, allocations: 1.188 kB / 0.6997 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.2005, allocations: 30.75 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.2006, allocations: 6.859 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2007, allocations: 161.8 kB / 0.6999 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.2008, allocations: 4.375 kB / 0.6999 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.2008, allocations: 2.312 kB / 0.6999 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2009, allocations: 45.86 kB / 0.7 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2009, allocations: 3.938 kB / 0.7 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2009, allocations: 5.031 kB / 0.7 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2009, allocations: 0 / 0.7 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.2009, allocations: 2.438 kB / 0.7 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.2011, allocations: 156.7 kB / 0.7001 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.2012, allocations: 23.2 kB / 0.7002 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.2012, allocations: 6.859 kB / 0.7002 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008044/0.202, allocations: 459 kB / 0.7006 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.202, allocations: 39.58 kB / 0.7006 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.202, allocations: 1.312 kB / 0.7007 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000585/0.2026, allocations: 250.5 kB / 0.7009 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2027, allocations: 52.75 kB / 0.7009 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.2027, allocations: 100.2 kB / 0.701 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.2028, allocations: 26.98 kB / 0.7011 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.2028, allocations: 80.14 kB / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2028, allocations: 13.22 kB / 0.7012 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2029, allocations: 17.48 kB / 0.7012 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.203, allocations: 315.7 kB / 0.7015 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.203, allocations: 3.781 kB / 0.7015 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.2031, allocations: 22.88 kB / 0.7015 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.2031, allocations: 26.89 kB / 0.7015 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2031, allocations: 5.062 kB / 0.7015 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.2032, allocations: 53.27 kB / 0.7016 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2032, allocations: 5.438 kB / 0.7016 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2033, allocations: 3.984 kB / 0.7016 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2033, allocations: 1.125 kB / 0.7016 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.2033, allocations: 9.812 kB / 0.7016 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2033, allocations: 5.188 kB / 0.7016 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.2034, allocations: 1.125 kB / 0.7016 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2034, allocations: 1.156 kB / 0.7016 GB, free: 10.14 MB / 0.5137 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.455e-05/0.2035, allocations: 108.9 kB / 0.7017 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.2035, allocations: 4.938 kB / 0.7017 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.2036, allocations: 61.83 kB / 0.7018 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2036, allocations: 5.406 kB / 0.7018 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2036, allocations: 0 / 0.7018 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2036, allocations: 3.938 kB / 0.7018 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.2038, allocations: 153.5 kB / 0.7019 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2038, allocations: 0 / 0.7019 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.2038, allocations: 9.156 kB / 0.7019 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2038, allocations: 0 / 0.7019 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2038, allocations: 5.25 kB / 0.7019 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2038, allocations: 0 / 0.7019 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2038, allocations: 1.25 kB / 0.7019 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.204, allocations: 86.11 kB / 0.702 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.2041, allocations: 86.22 kB / 0.7021 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2041, allocations: 0 / 0.7021 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.2041, allocations: 1.156 kB / 0.7021 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.2041, allocations: 2.438 kB / 0.7021 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.2041, allocations: 1.219 kB / 0.7021 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.2042, allocations: 80.36 kB / 0.7022 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2042, allocations: 160 / 0.7022 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002314/0.2044, allocations: 31.56 kB / 0.7022 GB, free: 9.477 MB / 0.5137 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.0005726/0.205, allocations: 0.6397 MB / 0.7028 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.2051, allocations: 13.73 kB / 0.7029 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2051, allocations: 1.406 kB / 0.7029 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.2051, allocations: 16.31 kB / 0.7029 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.2053, allocations: 2.812 kB / 0.7029 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2064, allocations: 1.134 MB / 0.704 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2067, allocations: 0.6811 MB / 0.7046 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.2067, allocations: 5.578 kB / 0.7046 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.2068, allocations: 14 kB / 0.7047 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.2068, allocations: 0 / 0.7047 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.2274, allocations: 1.767 MB / 0.7064 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.274, allocations: 11.98 kB / 0.7064 GB, free: 5.824 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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: 12.302978496998549] Failed to read output from testmodel.py, exit status != 0: 8.734483016014565 8.431020265999999 8.228134007 Calling exit ...