Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.0008461/0.0008461, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008298/0.0008298, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8471/0.8471, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:190: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-531:198: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.7057/0.7057, allocations: 154.5 MB / 414.5 MB, free: 0.8086 MB / 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.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.611e-05, allocations: 10.11 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001978/0.002004, allocations: 1.538 MB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.002258, allocations: 123.6 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.002303, allocations: 0 / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.002411, allocations: 15.86 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.839e-05/0.002429, allocations: 3.938 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.002651, allocations: 31.89 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.002738, allocations: 55.84 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.002836, allocations: 15.98 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.002892, allocations: 35.89 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.002945, allocations: 23.97 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.002959, allocations: 4 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.987e-05/0.003009, allocations: 11.98 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.003044, allocations: 15.94 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.003069, allocations: 23.92 kB / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003179, allocations: 59.78 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003181, allocations: 0 / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003182, allocations: 0 / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003185, allocations: 0 / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00035/0.003535, allocations: 310.1 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.003568, allocations: 13.41 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.003595, allocations: 8.891 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.003721, allocations: 129.6 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.003731, allocations: 8.375 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.003742, allocations: 4.375 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.003918, allocations: 86.2 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.003926, allocations: 192 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.003935, allocations: 384 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.00394, allocations: 384 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.004092, allocations: 95.78 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.004406, allocations: 252.5 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.004519, allocations: 58.56 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.004593, allocations: 44.84 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.004629, allocations: 8 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.004775, allocations: 34.55 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.004776, allocations: 3.938 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002948/0.005071, allocations: 133.6 kB / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.005098, allocations: 59.34 kB / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.005158, allocations: 113.8 kB / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.005167, allocations: 29.7 kB / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.005204, allocations: 96.08 kB / 0.6226 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.005221, allocations: 11.84 kB / 0.6226 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.005247, allocations: 17.72 kB / 0.6226 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.005314, allocations: 314.8 kB / 0.6229 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.005383, allocations: 31.95 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.005449, allocations: 39.95 kB / 0.623 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.005581, allocations: 72.78 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005582, allocations: 0 / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001579/0.00574, allocations: 105.5 kB / 0.6232 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.005751, allocations: 4 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005756, allocations: 11.98 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.005766, allocations: 0 / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.005835, allocations: 11.98 kB / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.005839, allocations: 0 / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.47e-05/0.005874, allocations: 15.98 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.00589, allocations: 4 kB / 0.6232 GB, free: 8.938 MB / 0.5886 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): 3 * 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.274e-05/0.005943, allocations: 118.8 kB / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.005957, allocations: 7.891 kB / 0.6233 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.006148, allocations: 121.6 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00615, allocations: 0 / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006153, allocations: 0 / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.006155, allocations: 0 / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.006247, allocations: 117.3 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006247, allocations: 0 / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.006289, allocations: 23.92 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.006291, allocations: 7.938 kB / 0.6236 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.006297, allocations: 0 / 0.6236 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006298, allocations: 3.938 kB / 0.6236 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006299, allocations: 0 / 0.6236 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.006477, allocations: 195.8 kB / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.006485, allocations: 7.938 kB / 0.6238 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.006495, allocations: 3.984 kB / 0.6238 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.006549, allocations: 19.98 kB / 0.6238 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.00658, allocations: 48 / 0.6238 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.006585, allocations: 7.984 kB / 0.6238 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.006615, allocations: 91.27 kB / 0.6239 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006615, allocations: 0 / 0.6239 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001485/0.006764, allocations: 11.95 kB / 0.6239 GB, free: 8.145 MB / 0.5886 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): 3 * 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 9.038e-05/0.006854, allocations: 107.1 kB / 0.624 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.007035, allocations: 79.92 kB / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.007036, allocations: 0 / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.007106, allocations: 35.95 kB / 0.6241 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.007293, allocations: 11.28 kB / 0.6242 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.007547, allocations: 170.6 kB / 0.6243 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.745e-05/0.007595, allocations: 75.33 kB / 0.6244 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.00762, allocations: 16.44 kB / 0.6244 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.007621, allocations: 0 / 0.6244 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of Templates: time 0.001591/0.009211, allocations: 0.9633 MB / 0.6253 GB, free: 6.641 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.032376818358898] Failed to read output from testmodel.py, exit status != 0: 0.014088116586208344 0.022005921 0.017224572 Calling exit ...