Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001409/0.001409, 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.00157/0.00157, allocations: 189.9 kB / 22.11 MB, free: 5.16 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.493/1.493, 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.3131/0.3131, allocations: 55.68 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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") [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.002225/0.002225, allocations: 74.55 kB / 482.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.435, allocations: 62.87 MB / 0.5322 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001815/0.4369, allocations: 0.5469 MB / 0.5327 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006882/0.4375, allocations: 323.2 kB / 0.533 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.4376, allocations: 5.062 kB / 0.533 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.4376, allocations: 0 / 0.533 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-06/0.4376, allocations: 0 / 0.533 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.4381, allocations: 108.1 kB / 0.5331 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.4381, allocations: 1.734 kB / 0.5331 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.529e-05/0.4382, allocations: 2.016 kB / 0.5331 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.4382, allocations: 0.875 kB / 0.5331 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.4383, allocations: 1.031 kB / 0.5331 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.4383, allocations: 4 kB / 0.5331 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.4388, allocations: 275.5 kB / 0.5334 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.4388, allocations: 0 / 0.5334 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.4389, allocations: 1.469 kB / 0.5334 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.4391, allocations: 89.39 kB / 0.5335 GB, free: 7.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4391, allocations: 0 / 0.5335 GB, free: 7.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4391, allocations: 1.5 kB / 0.5335 GB, free: 7.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.4391, allocations: 0 / 0.5335 GB, free: 7.223 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003589/0.4395, allocations: 257.7 kB / 0.5337 GB, free: 6.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4395, allocations: 9.938 kB / 0.5337 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.4396, allocations: 4.938 kB / 0.5337 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.4397, allocations: 109.1 kB / 0.5338 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4397, allocations: 384 / 0.5338 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4397, allocations: 1.656 kB / 0.5338 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4398, allocations: 31.89 kB / 0.5339 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4398, allocations: 1.984 kB / 0.5339 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4398, allocations: 0 / 0.5339 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4399, allocations: 0 / 0.5339 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.4399, allocations: 1.891 kB / 0.5339 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.44, allocations: 124.2 kB / 0.534 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.4401, allocations: 20.89 kB / 0.534 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.4401, allocations: 5.609 kB / 0.534 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004105/0.4405, allocations: 47.06 kB / 0.5341 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4405, allocations: 37 kB / 0.5341 GB, free: 6.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4405, allocations: 0 / 0.5341 GB, free: 6.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001665/0.4407, allocations: 43.67 kB / 0.5341 GB, free: 6.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.4407, allocations: 52.97 kB / 0.5342 GB, free: 6.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.407e-05/0.4407, allocations: 94.55 kB / 0.5343 GB, free: 6.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.4407, allocations: 25.7 kB / 0.5343 GB, free: 6.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.824e-05/0.4407, allocations: 81.36 kB / 0.5344 GB, free: 6.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.4408, allocations: 0 / 0.5344 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.4408, allocations: 16.48 kB / 0.5344 GB, free: 6.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.4409, allocations: 312.8 kB / 0.5347 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.4409, allocations: 0.5156 kB / 0.5347 GB, free: 5.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.4409, allocations: 9.812 kB / 0.5347 GB, free: 5.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.4409, allocations: 8.016 kB / 0.5347 GB, free: 5.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4409, allocations: 0.5625 kB / 0.5347 GB, free: 5.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.397e-05/0.441, allocations: 40.39 kB / 0.5348 GB, free: 5.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.441, allocations: 9.438 kB / 0.5348 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.441, allocations: 0 / 0.5348 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.441, allocations: 2.016 kB / 0.5348 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.4411, allocations: 9.688 kB / 0.5348 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.4411, allocations: 0.7031 kB / 0.5348 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.4411, allocations: 1.938 kB / 0.5348 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.4411, allocations: 0 / 0.5348 GB, free: 5.82 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 (1): * Single equations (assignments): 1 * 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 5.468e-05/0.4411, allocations: 107.9 kB / 0.5349 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.4412, allocations: 4.453 kB / 0.5349 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.196e-05/0.4413, allocations: 44.12 kB / 0.5349 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.4413, allocations: 0.875 kB / 0.5349 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4413, allocations: 0 / 0.5349 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4413, allocations: 0.75 kB / 0.5349 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.161e-05/0.4413, allocations: 116.1 kB / 0.535 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4413, allocations: 0 / 0.535 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.4413, allocations: 6.984 kB / 0.535 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4413, allocations: 0 / 0.535 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.4414, allocations: 1.5 kB / 0.535 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4414, allocations: 3.938 kB / 0.535 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4414, allocations: 5.75 kB / 0.5351 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.471e-05/0.4414, allocations: 56.7 kB / 0.5351 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.4414, allocations: 5.672 kB / 0.5351 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.4415, allocations: 1.547 kB / 0.5351 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.4415, allocations: 0.7812 kB / 0.5351 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.4415, allocations: 0.7031 kB / 0.5351 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4415, allocations: 1.094 kB / 0.5351 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 1.884e-05/0.4415, allocations: 79.31 kB / 0.5352 GB, free: 5.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 4e-08/0.4415, allocations: 0.5312 kB / 0.5352 GB, free: 5.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.4417, allocations: 9.516 kB / 0.5352 GB, free: 5.352 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 (1): * Single equations (assignments): 1 * 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.0001675/0.4419, allocations: 115.8 kB / 0.5353 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.442, allocations: 7.984 kB / 0.5353 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.442, allocations: 3.938 kB / 0.5353 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.278e-06/0.442, allocations: 2.969 kB / 0.5353 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.4422, allocations: 7.938 kB / 0.5353 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.4424, allocations: 88.45 kB / 0.5354 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4425, allocations: 0.6721 MB / 0.5361 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.67e-05/0.4425, allocations: 1.219 kB / 0.5361 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.4425, allocations: 8.234 kB / 0.5361 GB, free: 4.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4425, allocations: 0 / 0.5361 GB, free: 4.43 MB / 398.1 MB Notification: Performance of Templates: time 0.003058/0.4456, allocations: 461.3 kB / 0.5365 GB, free: 4.363 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.182413645088673] Failed to read output from testmodel.py, exit status != 0: 0.45404627453535795 0.46769973800000003 0.025567956000000003 Calling exit ...