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.001084/0.001084, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001694/0.001694, allocations: 181 kB / 23.36 MB, free: 1.133 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8117/0.8117, allocations: 154.9 MB / 415.1 MB, free: 224 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.493e-06/1.493e-06, allocations: 0 / 480.5 MB, free: 6.441 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.183e-05, allocations: 2.312 kB / 480.5 MB, free: 6.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001349/0.00137, allocations: 0.6547 MB / 481.1 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.001596, allocations: 91.61 kB / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.001613, allocations: 0 / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.001626, allocations: 0.5312 kB / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.001672, allocations: 0.9062 kB / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.001831, allocations: 27.84 kB / 481.2 MB, free: 5.711 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.096e-05/0.001872, allocations: 2.859 kB / 481.2 MB, free: 5.711 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.001905, allocations: 7.984 kB / 481.3 MB, free: 5.703 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.001941, allocations: 5.094 kB / 481.3 MB, free: 5.699 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.002008, allocations: 0 / 481.3 MB, free: 5.699 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.002026, allocations: 0 / 481.3 MB, free: 5.699 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.415e-05/0.0021, allocations: 16.64 kB / 481.3 MB, free: 5.684 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.002114, allocations: 4.547 kB / 481.3 MB, free: 5.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.22e-05/0.002126, allocations: 6.641 kB / 481.3 MB, free: 5.676 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.563e-05/0.002202, allocations: 16.62 kB / 481.3 MB, free: 5.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.002205, allocations: 4.688 kB / 481.3 MB, free: 5.656 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.002206, allocations: 0 / 481.3 MB, free: 5.656 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.002211, allocations: 0.9062 kB / 481.3 MB, free: 5.656 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.0002148/0.002425, allocations: 219.8 kB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.002454, allocations: 9.812 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.002563, allocations: 8.922 kB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.187e-05/0.002625, allocations: 105.8 kB / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.002639, allocations: 4.938 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-06/0.002645, allocations: 1.375 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.217e-05/0.002727, allocations: 46.95 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002733, allocations: 4.672 kB / 481.7 MB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.00274, allocations: 5.531 kB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.002745, allocations: 384 / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.002766, allocations: 11.94 kB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.76e-05/0.002844, allocations: 66.95 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.002909, allocations: 30.34 kB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.002923, allocations: 8.906 kB / 481.8 MB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.002935, allocations: 3.984 kB / 481.8 MB, free: 5.066 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.002958, allocations: 31.66 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.002959, allocations: 0 / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 8.441e-05/0.003043, allocations: 45.62 kB / 481.9 MB, free: 4.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.003068, allocations: 51.94 kB / 481.9 MB, free: 4.914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.42e-05/0.003092, allocations: 90.52 kB / 482 MB, free: 4.816 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.003101, allocations: 25.7 kB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/0.003119, allocations: 85.05 kB / 482.1 MB, free: 4.699 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.003145, allocations: 9.062 kB / 482.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.003169, allocations: 13.72 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.00324, allocations: 319.6 kB / 482.5 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.003253, allocations: 7.984 kB / 482.5 MB, free: 4.344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.003259, allocations: 0.9062 kB / 482.5 MB, free: 4.344 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.003289, allocations: 16.8 kB / 482.5 MB, free: 4.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003291, allocations: 0.625 kB / 482.5 MB, free: 4.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.441e-05/0.003335, allocations: 38.56 kB / 482.5 MB, free: 4.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.003346, allocations: 8.625 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.00335, allocations: 0 / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.003361, allocations: 0.625 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.003504, allocations: 26.25 kB / 482.6 MB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008789/0.004383, allocations: 1.203 MB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.004398, allocations: 7.938 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-06/0.004401, allocations: 0 / 483.8 MB, free: 2.961 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 5.149e-05/0.004452, allocations: 111.8 kB / 483.9 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.004459, allocations: 4 kB / 483.9 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-06/0.004465, allocations: 4.094 kB / 483.9 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.004467, allocations: 3.984 kB / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.00447, allocations: 4.562 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004472, allocations: 0.9062 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.511e-05/0.004517, allocations: 61.91 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.004519, allocations: 0.5469 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.004631, allocations: 34 kB / 484 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.004633, allocations: 0.9375 kB / 484 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.004641, allocations: 10.34 kB / 484 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005207/0.005162, allocations: 1.194 MB / 485.2 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005163, allocations: 0.6562 kB / 485.2 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.87e-05/0.005212, allocations: 70.64 kB / 485.3 MB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-06/0.005216, allocations: 4.562 kB / 485.3 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-06/0.00522, allocations: 0 / 485.3 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-06/0.005229, allocations: 9.844 kB / 485.3 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.005243, allocations: 3.984 kB / 485.3 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.005246, allocations: 0.7656 kB / 485.3 MB, free: 1.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.811e-06/0.005252, allocations: 4.859 kB / 485.3 MB, free: 1.324 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005252, allocations: 0 / 485.3 MB, free: 1.324 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001087/0.005361, allocations: 8.75 kB / 485.3 MB, free: 1.316 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 8.536e-05/0.005446, allocations: 77.27 kB / 485.4 MB, free: 1.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.005593, allocations: 38.58 kB / 485.4 MB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.005595, allocations: 1.203 kB / 485.4 MB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.005681, allocations: 36.19 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.735e-05/0.005738, allocations: 0 / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.005926, allocations: 99.59 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.536e-05/0.005952, allocations: 57.14 kB / 485.6 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.843e-05/0.00597, allocations: 1.188 kB / 485.6 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.006003, allocations: 52.12 kB / 485.7 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006004, allocations: 0.6562 kB / 485.7 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of Templates: time 0.001941/0.007945, allocations: 0.5143 MB / 486.2 MB, free: 440 kB / 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6636298331432045]