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.001165/0.001165, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9055/0.9055, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7066/0.7066, allocations: 154.5 MB / 414.5 MB, free: 0.8594 MB / 378.7 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 179] 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.222e-06/1.222e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.547e-05, allocations: 5.375 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002236/0.002262, allocations: 1.471 MB / 0.6207 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.002498, allocations: 87.77 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.002529, allocations: 0 / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.002556, allocations: 3.938 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.002597, allocations: 7.922 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.002797, allocations: 23.91 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.002859, allocations: 23.94 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.00295, allocations: 7.984 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.003, allocations: 8 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.464e-05/0.003034, allocations: 15.92 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.00305, allocations: 0 / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.003102, allocations: 15.98 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.003117, allocations: 7.984 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.003135, allocations: 7.984 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.003244, allocations: 35.89 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003246, allocations: 0 / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003247, allocations: 4 kB / 0.621 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.00325, allocations: 0 / 0.621 GB, free: 11.51 MB / 0.5886 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.0003394/0.00359, allocations: 266.3 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.003626, allocations: 9.469 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.003744, allocations: 12.92 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.00382, allocations: 113.7 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.00384, allocations: 4.375 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.003847, allocations: 384 / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.003972, allocations: 62.16 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.003979, allocations: 4.188 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.003989, allocations: 384 / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003993, allocations: 4.375 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.004102, allocations: 47.89 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.004377, allocations: 204.6 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.954e-05/0.004477, allocations: 58.42 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.004531, allocations: 28.91 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.004544, allocations: 0 / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.004564, allocations: 38.55 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.004565, allocations: 3.984 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002412/0.004806, allocations: 101.7 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.004834, allocations: 59.41 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/0.004895, allocations: 101.9 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.004905, allocations: 25.7 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.004942, allocations: 92.11 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.004958, allocations: 3.953 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.004986, allocations: 17.72 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.005059, allocations: 318.8 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.005113, allocations: 23.97 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.00516, allocations: 27.97 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.00526, allocations: 52.81 kB / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005262, allocations: 0 / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001222/0.005385, allocations: 81.8 kB / 0.6226 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005396, allocations: 8.094 kB / 0.6226 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.005402, allocations: 7.938 kB / 0.6227 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.005413, allocations: 4 kB / 0.6227 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.005479, allocations: 11.98 kB / 0.6227 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.005483, allocations: 3.938 kB / 0.6227 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.00551, allocations: 7.984 kB / 0.6227 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.005515, allocations: 0 / 0.6227 GB, free: 9.566 MB / 0.5886 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 5.249e-05/0.005567, allocations: 114.8 kB / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.005579, allocations: 0 / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.005606, allocations: 11.55 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.005608, allocations: 8 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.005613, allocations: 0 / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005616, allocations: 0 / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.765e-05/0.005704, allocations: 105.3 kB / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.005705, allocations: 0 / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.005734, allocations: 11.98 kB / 0.6229 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.005736, allocations: 0 / 0.6229 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.005743, allocations: 4 kB / 0.6229 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.005745, allocations: 3.938 kB / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005745, allocations: 0 / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.005893, allocations: 175.5 kB / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.0059, allocations: 7.891 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.00591, allocations: 4 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.005952, allocations: 15.92 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.005983, allocations: 3.938 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.005985, allocations: 0 / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.653e-05/0.006012, allocations: 83.28 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006012, allocations: 8.031 kB / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001425/0.006154, allocations: 4 kB / 0.6232 GB, free: 8.957 MB / 0.5886 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 7.141e-05/0.006226, allocations: 95.23 kB / 0.6233 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.006367, allocations: 47.95 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006368, allocations: 0 / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.00642, allocations: 32.03 kB / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.006611, allocations: 7.938 kB / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.006864, allocations: 142.6 kB / 0.6235 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.006904, allocations: 63.28 kB / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.006933, allocations: 8.5 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of SimCode: time 3.41e-07/0.006933, allocations: 4 kB / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.001343/0.008276, allocations: 0.6542 MB / 0.6242 GB, free: 7.852 MB / 0.5886 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.150667636655271] Failed to read output from testmodel.py, exit status != 0: 0.013233667239546776 0.020846491 0.016092895 Calling exit ...