Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008006/0.0008006, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008066/0.0008066, 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.8844/0.8844, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7001/0.7001, allocations: 154.6 MB / 414.5 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.701e-05, allocations: 5.672 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002137/0.002164, allocations: 1.552 MB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.002442, allocations: 127.6 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.002494, allocations: 0 / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.002609, allocations: 7.875 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.974e-05/0.002629, allocations: 11.92 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.002861, allocations: 27.91 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.002942, allocations: 63.83 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.003058, allocations: 11.98 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.003113, allocations: 31.91 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.003169, allocations: 31.84 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.003185, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.563e-05/0.00324, allocations: 12 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.003276, allocations: 15.97 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003301, allocations: 15.92 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.003415, allocations: 63.8 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003417, allocations: 0 / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003418, allocations: 0 / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.003423, allocations: 7.984 kB / 0.6213 GB, free: 11.16 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.0003766/0.003799, allocations: 298.1 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.003832, allocations: 12.03 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.003856, allocations: 4.891 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.003968, allocations: 129.7 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.003979, allocations: 8.375 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.003988, allocations: 4.312 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.004196, allocations: 90.2 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004202, allocations: 192 / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.00421, allocations: 384 / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.004216, allocations: 4.375 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.004364, allocations: 83.8 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.004672, allocations: 260.4 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.004785, allocations: 62.56 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.004858, allocations: 44.84 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.004886, allocations: 0 / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.004904, allocations: 34.56 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 5e-07/0.004904, allocations: 0 / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003531/0.005257, allocations: 137.6 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.005286, allocations: 51.41 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.005343, allocations: 113.8 kB / 0.6225 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.005357, allocations: 33.7 kB / 0.6226 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.005392, allocations: 88.09 kB / 0.6227 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.005412, allocations: 15.89 kB / 0.6227 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.005439, allocations: 25.64 kB / 0.6227 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.005507, allocations: 314.8 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.005583, allocations: 35.95 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.005678, allocations: 27.97 kB / 0.6231 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.005811, allocations: 80.72 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.005812, allocations: 4 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001528/0.005965, allocations: 105.5 kB / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005975, allocations: 4 kB / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00598, allocations: 0 / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.005989, allocations: 336 / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.006058, allocations: 23.91 kB / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.006062, allocations: 4 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.006097, allocations: 19.92 kB / 0.6233 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.006112, allocations: 0 / 0.6233 GB, free: 8.91 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.362e-05/0.006166, allocations: 118.8 kB / 0.6234 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.006179, allocations: 11.89 kB / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.00636, allocations: 113.6 kB / 0.6235 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006362, allocations: 4 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.006366, allocations: 4 kB / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006368, allocations: 0 / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.763e-05/0.006456, allocations: 117.3 kB / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006457, allocations: 4 kB / 0.6237 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.006493, allocations: 11.98 kB / 0.6237 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.006496, allocations: 3.938 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.006502, allocations: 0 / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006502, allocations: 4 kB / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006503, allocations: 3.938 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.006676, allocations: 203.4 kB / 0.6239 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.006683, allocations: 3.938 kB / 0.6239 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.006696, allocations: 4 kB / 0.6239 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.66e-05/0.006742, allocations: 7.984 kB / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.006776, allocations: 11.98 kB / 0.6239 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.00678, allocations: 0 / 0.6239 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.006812, allocations: 91.27 kB / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006812, allocations: 4 kB / 0.624 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001426/0.006955, allocations: 15.95 kB / 0.624 GB, free: 8.121 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 0.000227/0.007182, allocations: 91.25 kB / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.007362, allocations: 83.84 kB / 0.6242 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007363, allocations: 0 / 0.6242 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.007433, allocations: 39.97 kB / 0.6242 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.007619, allocations: 10.23 kB / 0.6242 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.007887, allocations: 178.5 kB / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.146e-05/0.007939, allocations: 83.52 kB / 0.6245 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.007962, allocations: 8.5 kB / 0.6245 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/0.007962, allocations: 0 / 0.6245 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of Templates: time 0.00159/0.009552, allocations: 0.9674 MB / 0.6254 GB, free: 6.617 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.056705540046096] Failed to read output from testmodel.py, exit status != 0: 0.014163974672555923 0.022154931000000003 0.017101730000000002 Calling exit ...