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.001829/0.001829, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00222/0.00222, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.816 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.8405/0.8405, allocations: 134 MB / 446.4 MB, free: 9.965 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.002355/0.002355, allocations: 68.2 kB / 0.6185 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1944, allocations: 85.91 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001926/0.1963, allocations: 0.5952 MB / 0.703 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.197, allocations: 307.3 kB / 0.7033 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.197, allocations: 0 / 0.7033 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.197, allocations: 4 kB / 0.7033 GB, free: 136 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.003e-05/0.197, allocations: 7.938 kB / 0.7033 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.1975, allocations: 103.7 kB / 0.7034 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.1976, allocations: 11.92 kB / 0.7034 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.1976, allocations: 0 / 0.7034 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.1976, allocations: 8 kB / 0.7034 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.1977, allocations: 12 kB / 0.7034 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1977, allocations: 0 / 0.7034 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.1981, allocations: 259.7 kB / 0.7037 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1981, allocations: 0 / 0.7037 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.1981, allocations: 4 kB / 0.7037 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1983, allocations: 95.94 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1983, allocations: 0 / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.228e-06/0.1983, allocations: 3.984 kB / 0.7038 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1983, allocations: 0 / 0.7038 GB, free: 15.63 MB / 0.5294 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.0004553/0.1988, allocations: 268.6 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1988, allocations: 12.03 kB / 0.704 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.1989, allocations: 34.59 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.1989, allocations: 0.9375 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.199, allocations: 114.5 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.1991, allocations: 384 / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.1991, allocations: 4.375 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1992, allocations: 63.95 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1992, allocations: 3.938 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1992, allocations: 0 / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1992, allocations: 0 / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.098e-05/0.1992, allocations: 0 / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.1994, allocations: 124.8 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.628e-05/0.1995, allocations: 30.55 kB / 0.7044 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.1995, allocations: 8.859 kB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.2001, allocations: 67.98 kB / 0.7045 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.2001, allocations: 34.56 kB / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2001, allocations: 4 kB / 0.7045 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0007239/0.2008, allocations: 177.2 kB / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.2009, allocations: 55.41 kB / 0.7047 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.2009, allocations: 97.84 kB / 0.7048 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.201, allocations: 25.7 kB / 0.7049 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.201, allocations: 84.14 kB / 0.7049 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.201, allocations: 7.906 kB / 0.7049 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.2011, allocations: 17.72 kB / 0.705 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2012, allocations: 319.2 kB / 0.7053 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.2012, allocations: 11.94 kB / 0.7053 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.2013, allocations: 29.69 kB / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.2013, allocations: 25.7 kB / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2013, allocations: 3.938 kB / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001012/0.2014, allocations: 49.64 kB / 0.7054 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2014, allocations: 7.938 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2014, allocations: 4 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2015, allocations: 64 / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.2015, allocations: 11.98 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2015, allocations: 4 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.2016, allocations: 4 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2016, allocations: 0 / 0.7054 GB, free: 13.73 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.669e-05/0.2016, allocations: 109.8 kB / 0.7055 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.2017, allocations: 3.938 kB / 0.7055 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.2018, allocations: 61.3 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2018, allocations: 0 / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2018, allocations: 4 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2018, allocations: 4 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.202, allocations: 116.8 kB / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.202, allocations: 0 / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.202, allocations: 11.98 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.202, allocations: 3.938 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.202, allocations: 0 / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.202, allocations: 0 / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.202, allocations: 7.984 kB / 0.7057 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.2022, allocations: 77.06 kB / 0.7058 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.2022, allocations: 11.89 kB / 0.7058 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2022, allocations: 8.094 kB / 0.7058 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.2022, allocations: 4 kB / 0.7058 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.2023, allocations: 3.984 kB / 0.7058 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2023, allocations: 4 kB / 0.7058 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.2023, allocations: 75.28 kB / 0.7059 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2023, allocations: 0 / 0.7059 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000209/0.2025, allocations: 23.94 kB / 0.7059 GB, free: 13.13 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.0005587/0.2031, allocations: 0.6436 MB / 0.7065 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.69e-05/0.2032, allocations: 20.09 kB / 0.7066 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2032, allocations: 0 / 0.7066 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.798e-05/0.2032, allocations: 7.984 kB / 0.7066 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.2033, allocations: 10.3 kB / 0.7066 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2046, allocations: 1.12 MB / 0.7077 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/0.2047, allocations: 67.16 kB / 0.7077 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.2047, allocations: 8.172 kB / 0.7077 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2047, allocations: 15.47 kB / 0.7078 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.2047, allocations: 3.938 kB / 0.7078 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.2378, allocations: 2.214 MB / 0.7099 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.15, allocations: 4.062 kB / 0.7099 GB, free: 9.016 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.780059861019254] Failed to read output from testmodel.py, exit status != 0: 11.25864984607324 11.287347916 11.084094247 Calling exit ...