Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001369/0.001369, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001459/0.001459, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.344/1.344, allocations: 203.8 MB / 0.5041 GB, free: 4.633 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.002279/0.002279, allocations: 70.08 kB / 0.7187 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6114/0.6137, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001922/0.6156, allocations: 0.5953 MB / 0.8189 GB, free: 28.53 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003361/0.616, allocations: 88.61 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.616, allocations: 1.719 kB / 0.819 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.616, allocations: 4.703 kB / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.6161, allocations: 0.8438 kB / 0.819 GB, free: 28.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.6163, allocations: 18.88 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.6164, allocations: 5.672 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.6164, allocations: 2.125 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.6164, allocations: 8.406 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.6165, allocations: 5.297 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.6165, allocations: 1.156 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.6166, allocations: 14.78 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.6166, allocations: 2.938 kB / 0.819 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.6167, allocations: 8.891 kB / 0.819 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.6168, allocations: 14.2 kB / 0.8191 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6168, allocations: 0 / 0.8191 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6168, allocations: 0 / 0.8191 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6168, allocations: 0.9062 kB / 0.8191 GB, free: 28.45 MB / 0.6387 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.0003464/0.6171, allocations: 245.3 kB / 0.8193 GB, free: 28.19 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6172, allocations: 14.91 kB / 0.8193 GB, free: 28.19 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.6174, allocations: 18.19 kB / 0.8193 GB, free: 28.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.913e-05/0.6174, allocations: 105 kB / 0.8194 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.6174, allocations: 2.25 kB / 0.8194 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.6174, allocations: 2 kB / 0.8194 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.6176, allocations: 43.98 kB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6176, allocations: 0.7188 kB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.6176, allocations: 7.125 kB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6176, allocations: 0.5625 kB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.6177, allocations: 10.95 kB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.6179, allocations: 105.8 kB / 0.8196 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.6181, allocations: 40.19 kB / 0.8196 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.6181, allocations: 11.44 kB / 0.8196 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.6181, allocations: 5.594 kB / 0.8196 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.6181, allocations: 40.62 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6182, allocations: 0.7188 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0002365/0.6184, allocations: 56.42 kB / 0.8197 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.6184, allocations: 53.69 kB / 0.8198 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.268e-05/0.6184, allocations: 90.98 kB / 0.8199 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.6185, allocations: 26.8 kB / 0.8199 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.171e-05/0.6185, allocations: 80.14 kB / 0.82 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.6185, allocations: 11.81 kB / 0.82 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.6185, allocations: 13.19 kB / 0.82 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.6186, allocations: 313.9 kB / 0.8203 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.6186, allocations: 9.906 kB / 0.8203 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.6187, allocations: 6.562 kB / 0.8203 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.244e-05/0.6187, allocations: 30.48 kB / 0.8203 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6187, allocations: 0.5 kB / 0.8203 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001082/0.6189, allocations: 50.11 kB / 0.8204 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.6189, allocations: 6.094 kB / 0.8204 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.6189, allocations: 0 / 0.8204 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6189, allocations: 0.7188 kB / 0.8204 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.6193, allocations: 48.55 kB / 0.8204 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.6204, allocations: 1.284 MB / 0.8217 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.6204, allocations: 13.5 kB / 0.8217 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.6204, allocations: 6.688 kB / 0.8217 GB, free: 25.8 MB / 0.6387 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 5.874e-05/0.6205, allocations: 117.9 kB / 0.8218 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.6205, allocations: 1.125 kB / 0.8218 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.314e-05/0.6205, allocations: 8.438 kB / 0.8218 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6205, allocations: 1.312 kB / 0.8218 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.6205, allocations: 0.8438 kB / 0.8218 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6205, allocations: 0 / 0.8218 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.445e-05/0.6206, allocations: 103.1 kB / 0.8219 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6206, allocations: 3.938 kB / 0.8219 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.621, allocations: 53.17 kB / 0.822 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.621, allocations: 1.812 kB / 0.822 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.621, allocations: 1.688 kB / 0.822 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009251/0.6219, allocations: 1.273 MB / 0.8232 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6219, allocations: 0 / 0.8232 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.622, allocations: 77.94 kB / 0.8233 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-06/0.622, allocations: 1.859 kB / 0.8233 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-06/0.622, allocations: 1.359 kB / 0.8233 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.6221, allocations: 5.594 kB / 0.8233 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.6221, allocations: 3.438 kB / 0.8233 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.6221, allocations: 1.547 kB / 0.8233 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.629e-05/0.6221, allocations: 83.88 kB / 0.8234 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5e-08/0.6221, allocations: 0.6875 kB / 0.8234 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001942/0.6223, allocations: 3.25 kB / 0.8234 GB, free: 24.1 MB / 0.6387 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.0001056/0.6224, allocations: 97.38 kB / 0.8235 GB, free: 24 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.6229, allocations: 67.58 kB / 0.8236 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6229, allocations: 0 / 0.8236 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.6232, allocations: 34.52 kB / 0.8236 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.6234, allocations: 5.688 kB / 0.8236 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.6237, allocations: 85.03 kB / 0.8237 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.6237, allocations: 74.17 kB / 0.8238 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.6238, allocations: 5.625 kB / 0.8238 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.6238, allocations: 10.52 kB / 0.8238 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.6238, allocations: 0.5 kB / 0.8238 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.003718/0.6275, allocations: 458.9 kB / 0.8242 GB, free: 23.72 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.868108589202166] Failed to read output from testmodel.py, exit status != 0: 0.6381533313542604 0.650895598 0.031390818 Calling exit ...