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.001333/0.001333, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.001413/0.001413, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.9428/0.9428, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7764/0.7764, allocations: 154.9 MB / 415.1 MB, free: 256 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 1.372e-06/1.372e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.566e-05, allocations: 11.55 kB / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001702/0.001728, allocations: 0.6152 MB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.002014, allocations: 92.23 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.002034, allocations: 0 / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.00205, allocations: 0 / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.0021, allocations: 0.7656 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.002337, allocations: 20.73 kB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.002399, allocations: 12.53 kB / 481.2 MB, free: 5.789 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.002448, allocations: 5.266 kB / 481.2 MB, free: 5.785 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.00249, allocations: 4.547 kB / 481.2 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.002585, allocations: 0.9844 kB / 481.2 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.002601, allocations: 0.5312 kB / 481.2 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.002675, allocations: 17.52 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.002689, allocations: 0 / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.002705, allocations: 4.547 kB / 481.2 MB, free: 5.762 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.002801, allocations: 20.5 kB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002803, allocations: 0 / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.002804, allocations: 0.625 kB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.002809, allocations: 6.453 kB / 481.2 MB, free: 5.738 MB / 442.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.0002681/0.003077, allocations: 216.8 kB / 481.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.003111, allocations: 12.03 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.003233, allocations: 8.922 kB / 481.4 MB, free: 5.484 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.271e-05/0.003295, allocations: 108.3 kB / 481.6 MB, free: 5.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.003311, allocations: 384 / 481.6 MB, free: 5.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.003321, allocations: 1.141 kB / 481.6 MB, free: 5.355 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.003426, allocations: 55.73 kB / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.003433, allocations: 192 / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.00344, allocations: 384 / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.003448, allocations: 6.891 kB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.788e-05/0.003476, allocations: 7.938 kB / 481.6 MB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.304e-05/0.003569, allocations: 61.03 kB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.153e-05/0.003651, allocations: 27.73 kB / 481.7 MB, free: 5.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.003667, allocations: 9.703 kB / 481.7 MB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.003679, allocations: 4 kB / 481.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.003706, allocations: 41.28 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.003707, allocations: 3.938 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001013/0.003808, allocations: 38.25 kB / 481.8 MB, free: 5.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.003844, allocations: 55.39 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.049e-05/0.003875, allocations: 89.86 kB / 481.9 MB, free: 4.902 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.003886, allocations: 25.7 kB / 482 MB, free: 4.871 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.00391, allocations: 84.14 kB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.003943, allocations: 5.859 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.003975, allocations: 17.72 kB / 482.1 MB, free: 4.758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.00407, allocations: 314.8 kB / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.004088, allocations: 4.875 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.004099, allocations: 3.984 kB / 482.4 MB, free: 4.434 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.004146, allocations: 21.84 kB / 482.4 MB, free: 4.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.004149, allocations: 0.9844 kB / 482.4 MB, free: 4.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.523e-05/0.004224, allocations: 37.69 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.004238, allocations: 4.625 kB / 482.5 MB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.004243, allocations: 0.625 kB / 482.5 MB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.004258, allocations: 4 kB / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.004443, allocations: 25.22 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009221/0.005365, allocations: 1.207 MB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.005384, allocations: 5.438 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.005391, allocations: 4 kB / 483.7 MB, free: 3.043 MB / 442.7 MB 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 7.747e-05/0.005468, allocations: 106.5 kB / 483.8 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.00548, allocations: 4.906 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.005496, allocations: 7.531 kB / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.005497, allocations: 0.6875 kB / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.0055, allocations: 3.938 kB / 483.8 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.005504, allocations: 0.625 kB / 483.8 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.005595, allocations: 66.77 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.005597, allocations: 1.25 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.005746, allocations: 32.44 kB / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.005749, allocations: 1.062 kB / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.005755, allocations: 0 / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006886/0.006443, allocations: 1.199 MB / 485.1 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.006445, allocations: 1.281 kB / 485.1 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.113e-05/0.006506, allocations: 66.44 kB / 485.2 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.00651, allocations: 4.859 kB / 485.2 MB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.006587, allocations: 4.938 kB / 485.2 MB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.006601, allocations: 3.938 kB / 485.2 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.006617, allocations: 4 kB / 485.2 MB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.006621, allocations: 5.328 kB / 485.2 MB, free: 1.414 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.783e-06/0.006628, allocations: 4.859 kB / 485.2 MB, free: 1.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006628, allocations: 0 / 485.2 MB, free: 1.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.006792, allocations: 4.656 kB / 485.2 MB, free: 1.402 MB / 442.7 MB 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.0001022/0.006894, allocations: 73.86 kB / 485.3 MB, free: 1.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.007081, allocations: 50.81 kB / 485.3 MB, free: 1.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.007084, allocations: 1.438 kB / 485.3 MB, free: 1.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.007195, allocations: 33.11 kB / 485.4 MB, free: 1.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.925e-05/0.007264, allocations: 0.9375 kB / 485.4 MB, free: 1.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.007523, allocations: 96.58 kB / 485.5 MB, free: 1.117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.007553, allocations: 58.44 kB / 485.5 MB, free: 1.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.243e-05/0.007575, allocations: 8.781 kB / 485.5 MB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.007612, allocations: 52.14 kB / 485.6 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.007613, allocations: 0.5938 kB / 485.6 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of Templates: time 0.001992/0.009606, allocations: 0.5036 MB / 486.1 MB, free: 0.5156 MB / 442.7 MB " [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.7418847689405084]