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.001612/0.001612, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001423/0.001423, allocations: 159.4 kB / 22.45 MB, free: 5.375 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.222/1.222, 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.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: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 0 / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.5e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001816/0.001851, allocations: 0.5965 MB / 0.6192 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.00215, allocations: 87.69 kB / 0.6192 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.002168, allocations: 0.7188 kB / 0.6192 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.002186, allocations: 0 / 0.6192 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.002224, allocations: 4.938 kB / 0.6193 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.002448, allocations: 19.91 kB / 0.6193 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.002503, allocations: 8.5 kB / 0.6193 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.002558, allocations: 5.016 kB / 0.6193 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.002594, allocations: 4 kB / 0.6193 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.002677, allocations: 8 kB / 0.6193 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.002692, allocations: 0 / 0.6193 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.002756, allocations: 11.98 kB / 0.6193 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.002775, allocations: 7.984 kB / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.002792, allocations: 0 / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.002888, allocations: 19.91 kB / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.002893, allocations: 4 kB / 0.6193 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002893, allocations: 3.938 kB / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.002903, allocations: 0 / 0.6193 GB, free: 3.82 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.0003448/0.003247, allocations: 238.4 kB / 0.6196 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.003286, allocations: 13.47 kB / 0.6196 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.003433, allocations: 12.92 kB / 0.6196 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.003521, allocations: 105.7 kB / 0.6197 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.003546, allocations: 8.375 kB / 0.6197 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.003557, allocations: 384 / 0.6197 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.00369, allocations: 42.19 kB / 0.6197 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.003702, allocations: 192 / 0.6197 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.003712, allocations: 4.359 kB / 0.6197 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.003718, allocations: 4.375 kB / 0.6198 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.71e-05/0.003805, allocations: 15.92 kB / 0.6198 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.00394, allocations: 105.3 kB / 0.6199 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.004136, allocations: 42.66 kB / 0.6199 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.004187, allocations: 12.84 kB / 0.6199 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.004206, allocations: 3.938 kB / 0.6199 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.004234, allocations: 30.56 kB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004235, allocations: 0 / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002111/0.004447, allocations: 57.67 kB / 0.62 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.004485, allocations: 55.41 kB / 0.6201 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.72e-05/0.004532, allocations: 89.86 kB / 0.6201 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.004551, allocations: 29.7 kB / 0.6202 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.004584, allocations: 80.14 kB / 0.6203 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.004616, allocations: 3.953 kB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.004652, allocations: 21.66 kB / 0.6203 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.004783, allocations: 314.8 kB / 0.6206 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.004829, allocations: 7.984 kB / 0.6206 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.004865, allocations: 11.94 kB / 0.6206 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.004953, allocations: 24.84 kB / 0.6206 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004955, allocations: 0 / 0.6206 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001283/0.005083, allocations: 53.67 kB / 0.6207 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.005104, allocations: 4 kB / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005108, allocations: 0 / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.005126, allocations: 0 / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.005576, allocations: 47.88 kB / 0.6207 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.007069, allocations: 1.286 MB / 0.622 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.007103, allocations: 7.938 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007108, allocations: 0 / 0.622 GB, free: 0.8359 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 9.063e-05/0.007199, allocations: 114.9 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.007217, allocations: 7.922 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.512e-05/0.007233, allocations: 3.531 kB / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007234, allocations: 0 / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007236, allocations: 0 / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007238, allocations: 0 / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.167e-05/0.00733, allocations: 109.3 kB / 0.6222 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007331, allocations: 4.062 kB / 0.6222 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.007716, allocations: 51.88 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007718, allocations: 0 / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.007726, allocations: 3.938 kB / 0.6223 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.009023, allocations: 1.282 MB / 0.6235 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.009027, allocations: 3.938 kB / 0.6235 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.009168, allocations: 77.25 kB / 0.6236 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.009174, allocations: 3.984 kB / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-06/0.00918, allocations: 0 / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.00921, allocations: 4 kB / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.009231, allocations: 0 / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.009235, allocations: 0 / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.009271, allocations: 75.28 kB / 0.6237 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009271, allocations: 0 / 0.6237 GB, free: 14.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001953/0.009466, allocations: 8 kB / 0.6237 GB, free: 14.94 MB / 0.545 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.0001455/0.009611, allocations: 107.2 kB / 0.6238 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.01011, allocations: 59.86 kB / 0.6238 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.01011, allocations: 0 / 0.6238 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.0104, allocations: 39.95 kB / 0.6239 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.01054, allocations: 6.281 kB / 0.6239 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.01092, allocations: 96.78 kB / 0.624 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.01097, allocations: 63.28 kB / 0.624 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.01101, allocations: 8.219 kB / 0.624 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.01104, allocations: 12.5 kB / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.01104, allocations: 0 / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of Templates: time 0.003007/0.01404, allocations: 457.2 kB / 0.6245 GB, free: 14.05 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.767451789230108] Failed to read output from testmodel.py, exit status != 0: 0.023578573018312454 0.037562634000000004 0.031585203 Calling exit ...