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.001336/0.001336, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.001701/0.001701, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.259/1.259, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.114e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003083/0.003114, allocations: 1.462 MB / 0.62 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.003441, allocations: 91.75 kB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.003483, allocations: 3.938 kB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.003516, allocations: 3.938 kB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.003562, allocations: 4 kB / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.00379, allocations: 19.91 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.003866, allocations: 27.92 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.003961, allocations: 4 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.004022, allocations: 19.92 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.962e-05/0.004062, allocations: 7.984 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.004078, allocations: 0 / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.383e-05/0.004142, allocations: 15.98 kB / 0.6201 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.004158, allocations: 4 kB / 0.6201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.004188, allocations: 11.94 kB / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.004316, allocations: 39.94 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004318, allocations: 0 / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004319, allocations: 0 / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.004329, allocations: 0 / 0.6202 GB, free: 2.926 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.0004694/0.004798, allocations: 278.2 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.004836, allocations: 9.469 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.00501, allocations: 12.92 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.00514, allocations: 113.7 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.00516, allocations: 384 / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.005175, allocations: 384 / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.005388, allocations: 66.16 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.0054, allocations: 192 / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.005413, allocations: 384 / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.005418, allocations: 384 / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.005649, allocations: 51.89 kB / 0.6207 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.006034, allocations: 208.6 kB / 0.6209 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.006227, allocations: 54.53 kB / 0.621 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.006348, allocations: 32.84 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.006363, allocations: 0 / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.006397, allocations: 38.5 kB / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.006398, allocations: 0 / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000457/0.006855, allocations: 105.6 kB / 0.6211 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.006908, allocations: 51.41 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.007003, allocations: 105.8 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.007025, allocations: 25.7 kB / 0.6213 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.007082, allocations: 88.14 kB / 0.6214 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.007116, allocations: 7.938 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.007173, allocations: 13.72 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.007326, allocations: 314.8 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.007447, allocations: 32.03 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.007547, allocations: 23.98 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.00775, allocations: 44.81 kB / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007752, allocations: 0 / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002671/0.008019, allocations: 85.7 kB / 0.6219 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.008034, allocations: 4 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.008042, allocations: 7.922 kB / 0.6219 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.00806, allocations: 4 kB / 0.6219 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.008171, allocations: 7.984 kB / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.008176, allocations: 0 / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.008241, allocations: 15.94 kB / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.008247, allocations: 0 / 0.6219 GB, free: 0.9844 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 8.403e-05/0.008331, allocations: 114.8 kB / 0.622 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.008357, allocations: 8.031 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.0084, allocations: 11.52 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.008403, allocations: 3.984 kB / 0.622 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.00841, allocations: 4.234 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008414, allocations: 7.938 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.008556, allocations: 109.3 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008558, allocations: 0 / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.00864, allocations: 11.98 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.008642, allocations: 0 / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.008653, allocations: 3.984 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.008657, allocations: 7.938 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.008659, allocations: 4 kB / 0.6222 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.008966, allocations: 171.5 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.008975, allocations: 7.891 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.008991, allocations: 3.984 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.009082, allocations: 7.938 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.009119, allocations: 11.92 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.009124, allocations: 4.031 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.009177, allocations: 83.28 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009177, allocations: 0 / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002239/0.0094, allocations: 8 kB / 0.6225 GB, free: 356 kB / 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.0001053/0.009506, allocations: 91.25 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.009786, allocations: 51.94 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009788, allocations: 4.062 kB / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.009907, allocations: 27.97 kB / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01019, allocations: 6.438 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.01067, allocations: 124.7 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01078, allocations: 63.34 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.06e-05/0.01082, allocations: 4.062 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.01087, allocations: 12.5 kB / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.01087, allocations: 0 / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Templates: time 0.004505/0.01538, allocations: 0.6417 MB / 0.6235 GB, free: 15.29 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.862585157155991] Failed to read output from testmodel.py, exit status != 0: 0.024555429816246033 0.039285396 0.03198869 Calling exit ...