Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.00135/0.00135, 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.001519/0.001519, allocations: 206.9 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.509/1.509, 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.321/1.321, 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.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.002154/0.002154, allocations: 67.45 kB / 0.7186 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6184, allocations: 102 MB / 0.8183 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003437/0.6218, allocations: 1.46 MB / 0.8197 GB, free: 484 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000362/0.6222, allocations: 103.5 kB / 0.8198 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.6222, allocations: 0 / 0.8198 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.6222, allocations: 0 / 0.8198 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.6223, allocations: 11.86 kB / 0.8198 GB, free: 368 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.6225, allocations: 19.92 kB / 0.8198 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.6226, allocations: 19.98 kB / 0.8198 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.6227, allocations: 7.938 kB / 0.8198 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.6228, allocations: 8 kB / 0.8199 GB, free: 312 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.6228, allocations: 15.92 kB / 0.8199 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.6229, allocations: 3.984 kB / 0.8199 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.6229, allocations: 15.98 kB / 0.8199 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.623, allocations: 8 kB / 0.8199 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.623, allocations: 3.938 kB / 0.8199 GB, free: 264 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.6231, allocations: 35.69 kB / 0.8199 GB, free: 232 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.6231, allocations: 4 kB / 0.8199 GB, free: 228 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6231, allocations: 0 / 0.8199 GB, free: 228 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.6231, allocations: 0 / 0.8199 GB, free: 228 kB / 0.5919 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.0005477/0.6237, allocations: 272.8 kB / 0.8202 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.6237, allocations: 9.469 kB / 0.8202 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.6239, allocations: 16.92 kB / 0.8202 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6241, allocations: 114.5 kB / 0.8203 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.6241, allocations: 4.375 kB / 0.8203 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.6241, allocations: 384 / 0.8203 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.6243, allocations: 54.23 kB / 0.8204 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6243, allocations: 192 / 0.8204 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.6243, allocations: 11.81 kB / 0.8204 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6243, allocations: 0 / 0.8204 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.6246, allocations: 59.88 kB / 0.8205 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.625, allocations: 204.6 kB / 0.8206 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.6252, allocations: 50.61 kB / 0.8207 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.6253, allocations: 32.83 kB / 0.8207 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.6253, allocations: 7.938 kB / 0.8207 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.6253, allocations: 34.5 kB / 0.8208 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6253, allocations: 0 / 0.8208 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004659/0.6258, allocations: 101.6 kB / 0.8209 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.6259, allocations: 51.41 kB / 0.8209 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.626, allocations: 105.8 kB / 0.821 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.626, allocations: 25.83 kB / 0.821 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.626, allocations: 92.14 kB / 0.8211 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.6261, allocations: 3.953 kB / 0.8211 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.6261, allocations: 13.72 kB / 0.8211 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6263, allocations: 318.8 kB / 0.8214 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.6264, allocations: 19.98 kB / 0.8215 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.6265, allocations: 23.97 kB / 0.8215 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.6267, allocations: 56.81 kB / 0.8215 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6267, allocations: 0 / 0.8215 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002557/0.627, allocations: 85.58 kB / 0.8216 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.627, allocations: 4 kB / 0.8216 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.627, allocations: 0 / 0.8216 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.627, allocations: 3.984 kB / 0.8216 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.6272, allocations: 16.02 kB / 0.8216 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.6272, allocations: 0 / 0.8216 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.6273, allocations: 11.95 kB / 0.8217 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.6273, allocations: 3.984 kB / 0.8217 GB, free: 14.28 MB / 0.6075 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 0.0001417/0.6274, allocations: 110.8 kB / 0.8218 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.6274, allocations: 7.938 kB / 0.8218 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.6275, allocations: 11.52 kB / 0.8218 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6275, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6275, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6275, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.6277, allocations: 113.3 kB / 0.8219 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6277, allocations: 4.188 kB / 0.8219 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.6278, allocations: 15.98 kB / 0.8219 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.6278, allocations: 3.938 kB / 0.8219 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6278, allocations: 0 / 0.8219 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6278, allocations: 0 / 0.8219 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6278, allocations: 0 / 0.8219 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.6281, allocations: 183.5 kB / 0.8221 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.6282, allocations: 7.891 kB / 0.8221 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.6282, allocations: 3.938 kB / 0.8221 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.6283, allocations: 7.984 kB / 0.8221 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.6283, allocations: 4 kB / 0.8221 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.6283, allocations: 0 / 0.8221 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.597e-05/0.6284, allocations: 91.2 kB / 0.8222 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6284, allocations: 0 / 0.8222 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002145/0.6286, allocations: 4 kB / 0.8222 GB, free: 13.67 MB / 0.6075 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.0001471/0.6287, allocations: 99.28 kB / 0.8223 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.629, allocations: 47.95 kB / 0.8223 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.629, allocations: 0 / 0.8223 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.6291, allocations: 27.97 kB / 0.8224 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.6295, allocations: 2.344 kB / 0.8224 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.6299, allocations: 141.4 kB / 0.8225 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.618e-05/0.63, allocations: 63.34 kB / 0.8226 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.63, allocations: 0 / 0.8226 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.6301, allocations: 11.44 kB / 0.8226 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.6301, allocations: 0 / 0.8226 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.003533/0.6336, allocations: 0.6571 MB / 0.8232 GB, free: 12.58 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7292843870818615] Failed to read output from testmodel.py, exit status != 0: 0.6435182336717844 0.659544109 0.033058406000000005 Calling exit ...