Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.001417/0.001417, 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.001513/0.001513, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.797 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.9246/0.9246, allocations: 134 MB / 446.4 MB, free: 9.93 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: translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [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.002099/0.002099, allocations: 71.77 kB / 0.619 GB, free: 6.371 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2058, allocations: 85.9 MB / 0.7029 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002903/0.2088, allocations: 1.46 MB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.2096, allocations: 351.7 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2097, allocations: 0 / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.2097, allocations: 3.938 kB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.2098, allocations: 7.922 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.2103, allocations: 111.7 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.2104, allocations: 23.92 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2105, allocations: 7.938 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.2106, allocations: 19.92 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.2106, allocations: 11.94 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2106, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.2111, allocations: 259.6 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.2111, allocations: 8 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.2111, allocations: 3.938 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.2114, allocations: 111.7 kB / 0.7052 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.2114, allocations: 4 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2114, allocations: 0 / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2114, allocations: 0 / 0.7052 GB, free: 14.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006109/0.212, allocations: 294 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.212, allocations: 8.031 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.2121, allocations: 8.938 kB / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2123, allocations: 106.5 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2123, allocations: 4.375 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2123, allocations: 4.312 kB / 0.7056 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.2125, allocations: 50.23 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2125, allocations: 192 / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2125, allocations: 3.938 kB / 0.7056 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2125, allocations: 0 / 0.7056 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2127, allocations: 39.91 kB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.2131, allocations: 200.6 kB / 0.7059 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.2133, allocations: 42.5 kB / 0.7059 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.2134, allocations: 20.89 kB / 0.7059 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.2139, allocations: 79.86 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.214, allocations: 34.56 kB / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.214, allocations: 0 / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004452/0.2144, allocations: 85.73 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2145, allocations: 51.41 kB / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.2146, allocations: 109.8 kB / 0.7063 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2146, allocations: 29.64 kB / 0.7063 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.2147, allocations: 88.14 kB / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.2147, allocations: 3.953 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.2147, allocations: 9.719 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2149, allocations: 318.8 kB / 0.7067 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.215, allocations: 15.97 kB / 0.7067 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.2151, allocations: 24.02 kB / 0.7067 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.2153, allocations: 36.83 kB / 0.7068 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2153, allocations: 0 / 0.7068 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.2155, allocations: 69.59 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2155, allocations: 4 kB / 0.7068 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2155, allocations: 0 / 0.7068 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2155, allocations: 8.031 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.2156, allocations: 11.98 kB / 0.7069 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2156, allocations: 0 / 0.7069 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.2157, allocations: 15.88 kB / 0.7069 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.2157, allocations: 0 / 0.7069 GB, free: 12.25 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 (2): * Single equations (assignments): 2 * 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 9.722e-05/0.2158, allocations: 111.8 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.2158, allocations: 7.938 kB / 0.707 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.216, allocations: 77.28 kB / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.216, allocations: 0 / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.216, allocations: 0 / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.216, allocations: 256 / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2162, allocations: 109.3 kB / 0.7072 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2162, allocations: 8 kB / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.2162, allocations: 11.92 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2163, allocations: 3.938 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2163, allocations: 0 / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2163, allocations: 0 / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2163, allocations: 4 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2165, allocations: 167.5 kB / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.2166, allocations: 7.891 kB / 0.7074 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2166, allocations: 7.938 kB / 0.7074 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.2167, allocations: 7.984 kB / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2167, allocations: 0 / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.2167, allocations: 0 / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.2167, allocations: 91.2 kB / 0.7075 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2167, allocations: 0 / 0.7075 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002296/0.217, allocations: 16.03 kB / 0.7075 GB, free: 11.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001581/0.2171, allocations: 107.2 kB / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.2174, allocations: 39.89 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2174, allocations: 0 / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.2175, allocations: 19.98 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.2177, allocations: 4.125 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.218, allocations: 109.6 kB / 0.7077 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.104e-05/0.2181, allocations: 67.2 kB / 0.7078 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.2181, allocations: 0 / 0.7078 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2181, allocations: 11.44 kB / 0.7078 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.2181, allocations: 0 / 0.7078 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.003326/0.2215, allocations: 0.7404 MB / 0.7085 GB, free: 10.43 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.885199259966612] Failed to read output from testmodel.py, exit status != 0: 0.22916605323553085 0.24564648499999994 0.030929443 Calling exit ...