Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.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.001023/0.001023, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001792/0.001792, allocations: 169 kB / 23.02 MB, free: 1.551 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.652 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-535:34: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-535:42: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.779/0.779, allocations: 154.9 MB / 414.8 MB, free: 396 kB / 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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.504e-05, allocations: 5.266 kB / 0.5208 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001662/0.001697, allocations: 0.6986 MB / 0.5214 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.002609, allocations: 0.8482 MB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.002653, allocations: 0.5312 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.00269, allocations: 8.484 kB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.002775, allocations: 8.859 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.18e-05/0.002856, allocations: 7.984 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.002954, allocations: 45.33 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.003076, allocations: 7.984 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.003176, allocations: 31.86 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.00322, allocations: 15.98 kB / 0.5224 GB, free: 100 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.003249, allocations: 4.938 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.003258, allocations: 4 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.003281, allocations: 17.09 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.003306, allocations: 8 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.003405, allocations: 27.89 kB / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.003408, allocations: 3.938 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003409, allocations: 1.375 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.003416, allocations: 0 / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004745/0.00389, allocations: 373.5 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.003937, allocations: 12.03 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.003985, allocations: 8.891 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004087, allocations: 113.9 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.004103, allocations: 4.375 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004113, allocations: 384 / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.004265, allocations: 68.22 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.004272, allocations: 192 / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.004282, allocations: 4.375 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.00429, allocations: 1.156 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.004323, allocations: 11.92 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.004679, allocations: 265.5 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.817e-05/0.004767, allocations: 35.06 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.004799, allocations: 15.62 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.004809, allocations: 0 / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.004835, allocations: 39.62 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.004837, allocations: 0 / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.005002, allocations: 49.64 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.005035, allocations: 51.41 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.005125, allocations: 165.9 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.005138, allocations: 29.69 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.005195, allocations: 140.3 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.005216, allocations: 3.953 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.00525, allocations: 23.38 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.005395, allocations: 497.1 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.005421, allocations: 11.94 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.005436, allocations: 0 / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.005478, allocations: 20.92 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.00548, allocations: 0 / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.97e-05/0.00555, allocations: 49.64 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.005568, allocations: 12.88 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.005573, allocations: 0 / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.00559, allocations: 0.9375 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.005682, allocations: 15.92 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.005689, allocations: 4.75 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.005715, allocations: 4.719 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.005722, allocations: 0 / 0.5244 GB, free: 13.84 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 8.301e-05/0.005805, allocations: 161.8 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.005819, allocations: 0 / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.00585, allocations: 15.92 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005853, allocations: 0.5625 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.005858, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005861, allocations: 1.781 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.00598, allocations: 124.6 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005982, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.00602, allocations: 11.98 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006022, allocations: 1.719 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.006032, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.006034, allocations: 3.938 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.006037, allocations: 3.984 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.00618, allocations: 199.8 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-06/0.006188, allocations: 0.7188 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.006199, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.006237, allocations: 9.188 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.006285, allocations: 11.98 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.006288, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.00633, allocations: 129.9 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00633, allocations: 0 / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001447/0.006475, allocations: 11.94 kB / 0.5251 GB, free: 13.11 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.0001467/0.006622, allocations: 91.25 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.006766, allocations: 23.67 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.006769, allocations: 2.75 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.006796, allocations: 19.62 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.007035, allocations: 8 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.007392, allocations: 134.2 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.896e-05/0.007441, allocations: 56.3 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.00747, allocations: 1.281 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.007505, allocations: 12.5 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.007505, allocations: 3.938 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.002533/0.01004, allocations: 0.782 MB / 0.5262 GB, free: 11.96 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.802623902913183]