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.001384/0.001384, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.00453/0.00453, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 4.984 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.8843/0.8843, allocations: 154.9 MB / 415.9 MB, free: 200 kB / 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.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.004e-06/2.004e-06, allocations: 0 / 0.5219 GB, free: 1.414 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.096e-05, allocations: 7.016 kB / 0.522 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001568/0.001599, allocations: 0.5996 MB / 0.5225 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.001835, allocations: 89.47 kB / 0.5226 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.001856, allocations: 0 / 0.5226 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.001873, allocations: 4.812 kB / 0.5226 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.001921, allocations: 0.9062 kB / 0.5226 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.002126, allocations: 15.92 kB / 0.5226 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.022e-05/0.002177, allocations: 5.391 kB / 0.5227 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.539e-05/0.002222, allocations: 7.984 kB / 0.5227 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.002255, allocations: 9.531 kB / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.002331, allocations: 0.5 kB / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.002346, allocations: 0.875 kB / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.002407, allocations: 15.92 kB / 0.5227 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.002421, allocations: 0 / 0.5227 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.002435, allocations: 9.219 kB / 0.5227 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.288e-05/0.002518, allocations: 15.91 kB / 0.5227 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002519, allocations: 0 / 0.5227 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00252, allocations: 0.5 kB / 0.5227 GB, free: 0.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.002524, allocations: 1.781 kB / 0.5227 GB, free: 0.668 MB / 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.0002845/0.002809, allocations: 352.3 kB / 0.523 GB, free: 292 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.002847, allocations: 8.031 kB / 0.5231 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.002958, allocations: 8.938 kB / 0.5231 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.074e-05/0.003029, allocations: 110.3 kB / 0.5232 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.003045, allocations: 384 / 0.5232 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.003051, allocations: 4.375 kB / 0.5232 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.003157, allocations: 50.95 kB / 0.5232 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.003164, allocations: 192 / 0.5232 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.00317, allocations: 1.906 kB / 0.5232 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.003175, allocations: 384 / 0.5232 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.003201, allocations: 11.88 kB / 0.5232 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.003312, allocations: 93.27 kB / 0.5233 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.003402, allocations: 39.84 kB / 0.5234 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.003418, allocations: 13.22 kB / 0.5234 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.00343, allocations: 0 / 0.5234 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.003455, allocations: 41.38 kB / 0.5234 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.003456, allocations: 0 / 0.5234 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001382/0.003594, allocations: 54.95 kB / 0.5235 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.003625, allocations: 55.34 kB / 0.5235 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.003669, allocations: 142.2 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.003679, allocations: 25.7 kB / 0.5237 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.003712, allocations: 127.6 kB / 0.5238 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.003749, allocations: 16.23 kB / 0.5238 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.003777, allocations: 22.53 kB / 0.5238 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.003913, allocations: 0.4883 MB / 0.5243 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.003932, allocations: 3.984 kB / 0.5243 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.00394, allocations: 4 kB / 0.5243 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.003974, allocations: 11.69 kB / 0.5243 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.003976, allocations: 0 / 0.5243 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.523e-05/0.004041, allocations: 53.62 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.004056, allocations: 4 kB / 0.5244 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.004062, allocations: 0.5625 kB / 0.5244 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.004073, allocations: 4.531 kB / 0.5244 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.004236, allocations: 25.38 kB / 0.5244 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000878/0.005114, allocations: 1.777 MB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.005128, allocations: 7.938 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.005132, allocations: 1.094 kB / 0.5262 GB, free: 12.84 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 (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 6.749e-05/0.005199, allocations: 156.6 kB / 0.5263 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.005206, allocations: 7.234 kB / 0.5263 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-06/0.005216, allocations: 3.531 kB / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.005219, allocations: 7.922 kB / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.00522, allocations: 0 / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.005223, allocations: 0 / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.007e-05/0.005293, allocations: 105.2 kB / 0.5264 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005294, allocations: 0 / 0.5264 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.005419, allocations: 30.72 kB / 0.5265 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.005421, allocations: 0 / 0.5265 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.005425, allocations: 0 / 0.5265 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007314/0.006157, allocations: 1.784 MB / 0.5282 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006157, allocations: 0 / 0.5282 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.083e-05/0.006228, allocations: 81.16 kB / 0.5283 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.006232, allocations: 4 kB / 0.5283 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-06/0.006238, allocations: 5.531 kB / 0.5283 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.006248, allocations: 0 / 0.5283 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.006263, allocations: 7.922 kB / 0.5283 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.006265, allocations: 4 kB / 0.5283 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.006301, allocations: 121.6 kB / 0.5284 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006301, allocations: 0 / 0.5284 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001305/0.006431, allocations: 8 kB / 0.5284 GB, free: 10.36 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 (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.0001021/0.006533, allocations: 91.25 kB / 0.5285 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.006716, allocations: 46.25 kB / 0.5286 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.006718, allocations: 0 / 0.5286 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.006815, allocations: 40.06 kB / 0.5286 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.006917, allocations: 3.688 kB / 0.5286 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.007125, allocations: 110 kB / 0.5287 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.801e-05/0.007153, allocations: 54.14 kB / 0.5288 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.007176, allocations: 4 kB / 0.5288 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.007221, allocations: 66.2 kB / 0.5288 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.007222, allocations: 4 kB / 0.5288 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of Templates: time 0.002041/0.009263, allocations: 0.5101 MB / 0.5293 GB, free: 9.402 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7598667195998132]