Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.001501/0.001501, 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.002009/0.002009, allocations: 215.2 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.801 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 1.09/1.09, allocations: 134 MB / 446.4 MB, free: 9.969 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [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.002167/0.002167, allocations: 66.19 kB / 0.619 GB, free: 6.348 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2021, allocations: 85.91 MB / 0.7029 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001982/0.2041, allocations: 0.5876 MB / 0.7035 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003477/0.2044, allocations: 100.1 kB / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.2044, allocations: 0 / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.2044, allocations: 0 / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.2045, allocations: 3.938 kB / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.2047, allocations: 19.92 kB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.2048, allocations: 11.98 kB / 0.7036 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.2048, allocations: 4 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.2048, allocations: 0 / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.2049, allocations: 7.984 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2049, allocations: 0 / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.205, allocations: 15.98 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.205, allocations: 0 / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.205, allocations: 3.938 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.2051, allocations: 19.91 kB / 0.7036 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2051, allocations: 4 kB / 0.7036 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2051, allocations: 0 / 0.7036 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2051, allocations: 0 / 0.7036 GB, free: 15.74 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.0003755/0.2055, allocations: 242.5 kB / 0.7039 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2055, allocations: 8.031 kB / 0.7039 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.2057, allocations: 16.81 kB / 0.7039 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.811e-05/0.2058, allocations: 106.5 kB / 0.704 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2058, allocations: 4.375 kB / 0.704 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2058, allocations: 4.375 kB / 0.704 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.2059, allocations: 38.25 kB / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.206, allocations: 192 / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.206, allocations: 3.938 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.206, allocations: 4 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.2061, allocations: 11.98 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.2062, allocations: 105.4 kB / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2064, allocations: 42.56 kB / 0.7042 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.2065, allocations: 16.83 kB / 0.7042 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2065, allocations: 4 kB / 0.7042 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2065, allocations: 30.56 kB / 0.7043 GB, free: 15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2065, allocations: 0 / 0.7043 GB, free: 15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000237/0.2068, allocations: 69.48 kB / 0.7043 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.2068, allocations: 51.41 kB / 0.7044 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.2069, allocations: 93.86 kB / 0.7045 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2069, allocations: 25.7 kB / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.2069, allocations: 80.14 kB / 0.7046 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.207, allocations: 3.953 kB / 0.7046 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.207, allocations: 21.72 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2072, allocations: 310.8 kB / 0.7049 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.2072, allocations: 11.92 kB / 0.7049 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.2073, allocations: 8 kB / 0.7049 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/0.2074, allocations: 20.84 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2074, allocations: 0 / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001189/0.2075, allocations: 57.61 kB / 0.705 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2075, allocations: 4 kB / 0.705 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2075, allocations: 0 / 0.705 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2075, allocations: 8 kB / 0.705 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.2079, allocations: 43.88 kB / 0.705 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.2094, allocations: 1.282 MB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.2094, allocations: 0 / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2094, allocations: 0 / 0.7063 GB, free: 12.77 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2095, allocations: 115.8 kB / 0.7064 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.2095, allocations: 8.078 kB / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.2096, allocations: 7.531 kB / 0.7064 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2096, allocations: 0 / 0.7064 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-07/0.2096, allocations: 0 / 0.7064 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2096, allocations: 4.328 kB / 0.7064 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.101e-05/0.2097, allocations: 97.31 kB / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2097, allocations: 3.938 kB / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.21, allocations: 47.94 kB / 0.7066 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.21, allocations: 0 / 0.7066 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2101, allocations: 11.97 kB / 0.7066 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.2113, allocations: 1.274 MB / 0.7078 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.2114, allocations: 4 kB / 0.7078 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.2115, allocations: 81.08 kB / 0.7079 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.2115, allocations: 4 kB / 0.7079 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-06/0.2115, allocations: 0 / 0.7079 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.81e-05/0.2115, allocations: 7.938 kB / 0.7079 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.2115, allocations: 4.031 kB / 0.7079 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.2116, allocations: 7.984 kB / 0.7079 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.2116, allocations: 79.22 kB / 0.708 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2116, allocations: 4 kB / 0.708 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001951/0.2118, allocations: 4 kB / 0.708 GB, free: 10.85 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.212, allocations: 95.25 kB / 0.7081 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.2124, allocations: 59.92 kB / 0.7081 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2124, allocations: 0 / 0.7081 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.2127, allocations: 35.95 kB / 0.7082 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.2128, allocations: 0 / 0.7082 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.2132, allocations: 104.2 kB / 0.7083 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.851e-05/0.2132, allocations: 63.28 kB / 0.7083 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.2132, allocations: 4 kB / 0.7083 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.2133, allocations: 7.438 kB / 0.7084 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.2133, allocations: 0 / 0.7084 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.002848/0.2161, allocations: 458.1 kB / 0.7088 GB, free: 10 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.080734740942717] Failed to read output from testmodel.py, exit status != 0: 0.2244526483118534 0.24013085 0.031888612000000004 Calling exit ...