Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 190.3 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.31/0.31, allocations: 55.67 MB / 340.7 MB, free: 13.97 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003623/0.003623, allocations: 75.88 kB / 482.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4494, allocations: 62.86 MB / 0.5322 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001741/0.4511, allocations: 0.551 MB / 0.5327 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.4514, allocations: 97.36 kB / 0.5328 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.4514, allocations: 1.438 kB / 0.5328 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.4514, allocations: 7.938 kB / 0.5328 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.4515, allocations: 3.938 kB / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.4517, allocations: 10.36 kB / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.4518, allocations: 8.5 kB / 0.5328 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.4518, allocations: 4.312 kB / 0.5328 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.4518, allocations: 6.234 kB / 0.5328 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.4519, allocations: 5.844 kB / 0.5328 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.4519, allocations: 1.188 kB / 0.5328 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.452, allocations: 14.17 kB / 0.5329 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.452, allocations: 8.641 kB / 0.5329 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.452, allocations: 2.062 kB / 0.5329 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.4521, allocations: 20.88 kB / 0.5329 GB, free: 7.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4521, allocations: 0.7031 kB / 0.5329 GB, free: 7.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4521, allocations: 1.406 kB / 0.5329 GB, free: 7.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4521, allocations: 0 / 0.5329 GB, free: 7.523 MB / 398.1 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.000264/0.4524, allocations: 244 kB / 0.5331 GB, free: 7.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4524, allocations: 8 kB / 0.5331 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.4526, allocations: 13.92 kB / 0.5331 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.842e-05/0.4526, allocations: 108.2 kB / 0.5332 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4526, allocations: 1.984 kB / 0.5332 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.4526, allocations: 1.531 kB / 0.5332 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.4528, allocations: 43.38 kB / 0.5333 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4528, allocations: 3.938 kB / 0.5333 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.4528, allocations: 4.609 kB / 0.5333 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4528, allocations: 1.344 kB / 0.5333 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.4529, allocations: 16.23 kB / 0.5333 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.453, allocations: 126.5 kB / 0.5334 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.4531, allocations: 37.19 kB / 0.5335 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.4532, allocations: 15.42 kB / 0.5335 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.4532, allocations: 4.547 kB / 0.5335 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.838e-06/0.4532, allocations: 31.47 kB / 0.5335 GB, free: 6.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4532, allocations: 4 kB / 0.5335 GB, free: 6.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.4534, allocations: 57.31 kB / 0.5336 GB, free: 6.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.4534, allocations: 52.53 kB / 0.5336 GB, free: 6.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.697e-05/0.4535, allocations: 89.86 kB / 0.5337 GB, free: 6.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.4535, allocations: 30.73 kB / 0.5337 GB, free: 6.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.768e-06/0.4535, allocations: 80.8 kB / 0.5338 GB, free: 6.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.4535, allocations: 9.672 kB / 0.5338 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.4535, allocations: 21.39 kB / 0.5338 GB, free: 6.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.4536, allocations: 316.6 kB / 0.5341 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.4536, allocations: 5.156 kB / 0.5342 GB, free: 6.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.4536, allocations: 6.359 kB / 0.5342 GB, free: 6.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.382e-05/0.4537, allocations: 20.62 kB / 0.5342 GB, free: 6.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4537, allocations: 4.906 kB / 0.5342 GB, free: 6.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001007/0.4538, allocations: 55.59 kB / 0.5342 GB, free: 6.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4538, allocations: 5.344 kB / 0.5342 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.4538, allocations: 4.703 kB / 0.5342 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4538, allocations: 1.156 kB / 0.5342 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.4542, allocations: 40.73 kB / 0.5343 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009665/0.4552, allocations: 1.304 MB / 0.5356 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.4552, allocations: 9.859 kB / 0.5356 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.4552, allocations: 1.188 kB / 0.5356 GB, free: 4.797 MB / 398.1 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 4.361e-05/0.4553, allocations: 108.7 kB / 0.5357 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.4553, allocations: 9 kB / 0.5357 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.219e-05/0.4553, allocations: 9.484 kB / 0.5357 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.4553, allocations: 0 / 0.5357 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.4553, allocations: 1.188 kB / 0.5357 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4553, allocations: 4.594 kB / 0.5357 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.329e-05/0.4554, allocations: 126.9 kB / 0.5358 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4554, allocations: 0 / 0.5358 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.4557, allocations: 50.88 kB / 0.5359 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4557, allocations: 0 / 0.5359 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4558, allocations: 1.188 kB / 0.5359 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.4566, allocations: 1.303 MB / 0.5371 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4566, allocations: 1.922 kB / 0.5371 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.4568, allocations: 79.58 kB / 0.5372 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.4568, allocations: 10.89 kB / 0.5372 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-06/0.4568, allocations: 0.5156 kB / 0.5372 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.546e-05/0.4568, allocations: 1.844 kB / 0.5372 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.4568, allocations: 3.734 kB / 0.5372 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4568, allocations: 5.844 kB / 0.5372 GB, free: 3.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.4568, allocations: 79.28 kB / 0.5373 GB, free: 3.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-08/0.4568, allocations: 0 / 0.5373 GB, free: 3.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.457, allocations: 3.625 kB / 0.5373 GB, free: 3.016 MB / 398.1 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.749e-05/0.4571, allocations: 93.91 kB / 0.5374 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004957/0.4576, allocations: 62.75 kB / 0.5375 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4576, allocations: 0 / 0.5375 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.4579, allocations: 38.17 kB / 0.5375 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.458, allocations: 6.125 kB / 0.5375 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.4583, allocations: 98.61 kB / 0.5376 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.4584, allocations: 0.678 MB / 0.5383 GB, free: 2.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.799e-05/0.4584, allocations: 3.203 kB / 0.5383 GB, free: 2.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.4585, allocations: 14.59 kB / 0.5383 GB, free: 2.094 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4585, allocations: 0 / 0.5383 GB, free: 2.094 MB / 398.1 MB Notification: Performance of Templates: time 0.003065/0.4615, allocations: 444.6 kB / 0.5387 GB, free: 2.027 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.267329125665128] Failed to read output from testmodel.py, exit status != 0: 0.47270111832767725 0.486934128 0.031824248 Calling exit ...