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.00103/0.00103, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001206/0.001206, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.092/1.092, allocations: 177.1 MB / 203.4 MB, free: 5.625 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-535:34: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-535:42: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.7941/0.7941, allocations: 154.8 MB / 414.7 MB, free: 0.5 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 2.364e-06/2.364e-06, allocations: 0 / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.065e-05/4.301e-05, allocations: 9.172 kB / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003547/0.00359, allocations: 1.488 MB / 0.522 GB, free: 484 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.003911, allocations: 105.2 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.003951, allocations: 0 / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.003989, allocations: 0 / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.004043, allocations: 8.875 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.004282, allocations: 15.98 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.066e-05/0.004363, allocations: 28.47 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.004465, allocations: 5.719 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.004532, allocations: 15.92 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.004575, allocations: 11.98 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.004594, allocations: 0 / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.004662, allocations: 11.98 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.004682, allocations: 8.5 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.004707, allocations: 4.969 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.004843, allocations: 31.89 kB / 0.5223 GB, free: 240 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.004849, allocations: 4 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004851, allocations: 0.875 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.004857, allocations: 4 kB / 0.5223 GB, free: 232 kB / 490.7 MB 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.0004331/0.00529, allocations: 365.2 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.005337, allocations: 8.719 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.005533, allocations: 12.92 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005641, allocations: 117.8 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.005659, allocations: 384 / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.005673, allocations: 384 / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.005837, allocations: 64.75 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.005848, allocations: 192 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005859, allocations: 384 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.005868, allocations: 384 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.005916, allocations: 7.938 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.006303, allocations: 257.5 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.006399, allocations: 43.03 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.006428, allocations: 11.75 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.006447, allocations: 0.75 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.006474, allocations: 33.39 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.006475, allocations: 1.406 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.006671, allocations: 57.5 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.006703, allocations: 51.41 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.006797, allocations: 167.3 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.006811, allocations: 25.7 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.006866, allocations: 130.8 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.00689, allocations: 11.94 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.006933, allocations: 17.12 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.007076, allocations: 496.1 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.062e-05/0.007106, allocations: 3.984 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.851e-05/0.007125, allocations: 4 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.007171, allocations: 17.88 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007173, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.87e-05/0.007272, allocations: 45.84 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.007293, allocations: 8 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.007301, allocations: 3.938 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.00732, allocations: 0.5312 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.007415, allocations: 12.55 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.007421, allocations: 1 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.007453, allocations: 4 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.00746, allocations: 0 / 0.5242 GB, free: 14.09 MB / 0.4948 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.311e-05/0.007543, allocations: 161.1 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.007571, allocations: 1.031 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.007612, allocations: 15.56 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.007614, allocations: 1.031 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.007617, allocations: 0 / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00762, allocations: 0 / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.007771, allocations: 115.9 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.007773, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.007816, allocations: 8 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.00782, allocations: 3.984 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.00783, allocations: 4 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.007833, allocations: 3.938 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.007835, allocations: 0 / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.007997, allocations: 187.8 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.008009, allocations: 11.02 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.008024, allocations: 4 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.008089, allocations: 11.88 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.008131, allocations: 0 / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.008135, allocations: 0 / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.008188, allocations: 127.2 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008188, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002534/0.008442, allocations: 4 kB / 0.5248 GB, free: 13.39 MB / 0.4948 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.0001193/0.008561, allocations: 100.8 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.00867, allocations: 19.61 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.008672, allocations: 0.5 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.0087, allocations: 18.38 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.008982, allocations: 3.391 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.009333, allocations: 130.2 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.009378, allocations: 55.36 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.009402, allocations: 2.438 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.009437, allocations: 8.5 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/0.009438, allocations: 0 / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.003008/0.01245, allocations: 0.6639 MB / 0.5258 GB, free: 12.36 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.018764199223369]