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.0008049/0.0008049, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000898/0.000898, allocations: 173 kB / 23.49 MB, free: 1.055 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.073/1.073, allocations: 177.1 MB / 203.8 MB, free: 5.648 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-545:108: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-545:116: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.809/0.809, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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.713e-06/1.713e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.832e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002195/0.002224, allocations: 1.577 MB / 0.5219 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.002519, allocations: 124.2 kB / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.002574, allocations: 0 / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.002704, allocations: 12.83 kB / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.462e-05/0.002729, allocations: 7.938 kB / 0.522 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.002982, allocations: 29.66 kB / 0.522 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.003073, allocations: 55.83 kB / 0.5221 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003181, allocations: 19.92 kB / 0.5221 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.003245, allocations: 35.91 kB / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.003306, allocations: 27.91 kB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.003324, allocations: 4.562 kB / 0.5222 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.003382, allocations: 12.48 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.003422, allocations: 21 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.003452, allocations: 11.94 kB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.00358, allocations: 51.81 kB / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003583, allocations: 0.9062 kB / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003583, allocations: 0 / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.003591, allocations: 3.984 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB 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.000414/0.004005, allocations: 390.2 kB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.004042, allocations: 11.97 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.004085, allocations: 12.89 kB / 0.5227 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.004235, allocations: 128.5 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.004246, allocations: 5.094 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.004257, allocations: 9.906 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.004419, allocations: 70.92 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004426, allocations: 192 / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004435, allocations: 384 / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.004446, allocations: 9.875 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.00449, allocations: 23.88 kB / 0.5229 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.004849, allocations: 295.8 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.004922, allocations: 39.75 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.004948, allocations: 16.78 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.004979, allocations: 8.078 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.005, allocations: 33.39 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.005001, allocations: 1.188 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001651/0.005166, allocations: 57.61 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.005196, allocations: 51.41 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.00528, allocations: 175.8 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.005292, allocations: 29.7 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.005352, allocations: 146.8 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.005374, allocations: 7.906 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.005407, allocations: 23.38 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.005547, allocations: 496.1 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.005566, allocations: 4 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.005582, allocations: 9.656 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.005618, allocations: 11.69 kB / 0.5243 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005621, allocations: 0 / 0.5243 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.446e-05/0.005695, allocations: 53.56 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.00571, allocations: 8.562 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005715, allocations: 0 / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.005728, allocations: 0.9375 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.005817, allocations: 11.98 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.005823, allocations: 1.125 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.005847, allocations: 4 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.005867, allocations: 0.7188 kB / 0.5243 GB, free: 14.25 MB / 0.4948 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 7.832e-05/0.005945, allocations: 168.5 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.005964, allocations: 8.766 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.006067, allocations: 53.62 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006069, allocations: 1.156 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.006075, allocations: 3.984 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.006079, allocations: 4 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.006185, allocations: 129.2 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.006186, allocations: 0 / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.006225, allocations: 14.8 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.006229, allocations: 3.938 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.006236, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006239, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.00624, allocations: 4 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.00635, allocations: 191.9 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.006359, allocations: 7.938 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.006373, allocations: 7.031 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.006412, allocations: 11.98 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.006461, allocations: 0 / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.006467, allocations: 8.359 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.006515, allocations: 135.2 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006515, allocations: 0 / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001569/0.006672, allocations: 15.89 kB / 0.5251 GB, free: 13.43 MB / 0.4948 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.0001446/0.006817, allocations: 96.73 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.974e-05/0.006917, allocations: 19.69 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.006919, allocations: 4 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.006947, allocations: 22.88 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.007156, allocations: 4 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.007489, allocations: 157.9 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.00753, allocations: 63.34 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.007562, allocations: 10.42 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.00759, allocations: 8.5 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.007591, allocations: 3.938 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.00275/0.01034, allocations: 0.8 MB / 0.5262 GB, free: 12.22 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.861282688099891]