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.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.001815/0.001815, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002323/0.002323, allocations: 212.7 kB / 23.04 MB, free: 5.074 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.866/0.866, allocations: 134 MB / 447.2 MB, free: 10.21 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",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="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.003084/0.003084, allocations: 65.64 kB / 0.6194 GB, free: 7.141 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2196, allocations: 85.9 MB / 0.7032 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001831/0.2214, allocations: 0.628 MB / 0.7039 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.2222, allocations: 347.2 kB / 0.7042 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.2222, allocations: 4 kB / 0.7042 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.2222, allocations: 4 kB / 0.7042 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.928e-05/0.2222, allocations: 3.938 kB / 0.7042 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.2227, allocations: 118.5 kB / 0.7043 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.2228, allocations: 27.86 kB / 0.7043 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.2228, allocations: 3.984 kB / 0.7043 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.2229, allocations: 12 kB / 0.7044 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.2229, allocations: 15.92 kB / 0.7044 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2229, allocations: 7.984 kB / 0.7044 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.2233, allocations: 271.7 kB / 0.7046 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.2233, allocations: 0 / 0.7046 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.2234, allocations: 23.8 kB / 0.7047 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2236, allocations: 99.98 kB / 0.7048 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2236, allocations: 3.938 kB / 0.7048 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2236, allocations: 0 / 0.7048 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2236, allocations: 0 / 0.7048 GB, free: 15.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004361/0.224, allocations: 290 kB / 0.705 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2241, allocations: 12.03 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.465e-05/0.2241, allocations: 4.188 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.2241, allocations: 34.75 kB / 0.7051 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.2242, allocations: 8.891 kB / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.2243, allocations: 102.5 kB / 0.7052 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.2243, allocations: 4.375 kB / 0.7052 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2243, allocations: 4.375 kB / 0.7052 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.2244, allocations: 53.98 kB / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.2244, allocations: 0 / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2244, allocations: 7.938 kB / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2244, allocations: 4 kB / 0.7053 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.2245, allocations: 19.97 kB / 0.7053 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.2247, allocations: 136.8 kB / 0.7054 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2248, allocations: 54.62 kB / 0.7055 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.2248, allocations: 28.84 kB / 0.7055 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/0.2253, allocations: 75.92 kB / 0.7056 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2254, allocations: 42.44 kB / 0.7056 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2254, allocations: 0 / 0.7056 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001225/0.2266, allocations: 462.9 kB / 0.706 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2266, allocations: 55.41 kB / 0.7061 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.2267, allocations: 97.84 kB / 0.7062 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2267, allocations: 29.7 kB / 0.7062 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.2268, allocations: 80.14 kB / 0.7063 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.2268, allocations: 47.64 kB / 0.7063 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.2269, allocations: 25.72 kB / 0.7064 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.227, allocations: 318.8 kB / 0.7067 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.2271, allocations: 23.98 kB / 0.7067 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.2271, allocations: 16 kB / 0.7067 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2272, allocations: 56.84 kB / 0.7068 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2272, allocations: 0 / 0.7068 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001619/0.2274, allocations: 103.6 kB / 0.7069 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2274, allocations: 9.719 kB / 0.7069 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2274, allocations: 4 kB / 0.7069 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2274, allocations: 0 / 0.7069 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.2275, allocations: 27.98 kB / 0.7069 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2275, allocations: 0 / 0.7069 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.2275, allocations: 0 / 0.7069 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2275, allocations: 4.781 kB / 0.7069 GB, free: 13.34 MB / 0.5294 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.0001041/0.2276, allocations: 117.7 kB / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.2277, allocations: 7.953 kB / 0.707 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.2279, allocations: 109.7 kB / 0.7071 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2279, allocations: 0 / 0.7071 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2279, allocations: 0 / 0.7071 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2279, allocations: 0 / 0.7071 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.2283, allocations: 329.7 kB / 0.7074 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2283, allocations: 0 / 0.7074 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.2284, allocations: 23.98 kB / 0.7075 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2284, allocations: 7.984 kB / 0.7075 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2284, allocations: 0 / 0.7075 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2284, allocations: 0 / 0.7075 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2284, allocations: 4 kB / 0.7075 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.2287, allocations: 225.9 kB / 0.7077 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.2288, allocations: 11.97 kB / 0.7077 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.2288, allocations: 4 kB / 0.7077 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.2288, allocations: 7.984 kB / 0.7077 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.2289, allocations: 4.094 kB / 0.7077 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2289, allocations: 15.92 kB / 0.7077 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.2289, allocations: 83.34 kB / 0.7078 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2289, allocations: 0 / 0.7078 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002694/0.2292, allocations: 47.81 kB / 0.7079 GB, free: 12.28 MB / 0.5294 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.0007273/0.2299, allocations: 0.7787 MB / 0.7086 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.2301, allocations: 59.97 kB / 0.7087 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2301, allocations: 4.062 kB / 0.7087 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.758e-05/0.2301, allocations: 27.94 kB / 0.7087 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2304, allocations: 7.984 kB / 0.7087 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.2319, allocations: 1.403 MB / 0.7101 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.2322, allocations: 0.6922 MB / 0.7108 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.2323, allocations: 11.97 kB / 0.7108 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.2323, allocations: 23.44 kB / 0.7108 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.2323, allocations: 0 / 0.7108 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.2586, allocations: 2.636 MB / 0.7134 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.29, allocations: 11.06 kB / 0.7134 GB, free: 6.652 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.075734977028333] Failed to read output from testmodel.py, exit status != 0: 11.450742805958726 11.468119942 11.240919733 Calling exit ...