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.001187/0.001187, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001336/0.001336, allocations: 173 kB / 23.49 MB, free: 1.062 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.126/1.126, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8425/0.8425, allocations: 154.8 MB / 415.1 MB, free: 484 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 3.096e-06/3.096e-06, allocations: 0 / 0.5206 GB, free: 1.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.538e-05, allocations: 7.688 kB / 0.5206 GB, free: 1.117 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002087/0.002123, allocations: 0.699 MB / 0.5213 GB, free: 452 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.00326, allocations: 0.8439 MB / 0.5221 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.003306, allocations: 4.438 kB / 0.5222 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.003339, allocations: 4.594 kB / 0.5222 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.003421, allocations: 4.875 kB / 0.5222 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.992e-05/0.003501, allocations: 23.95 kB / 0.5222 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.003603, allocations: 40.83 kB / 0.5222 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003718, allocations: 8 kB / 0.5222 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.003826, allocations: 27.91 kB / 0.5223 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.003875, allocations: 12.83 kB / 0.5223 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.003901, allocations: 4 kB / 0.5223 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-06/0.003909, allocations: 4.625 kB / 0.5223 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.00393, allocations: 7.984 kB / 0.5223 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.00396, allocations: 12.91 kB / 0.5223 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.004059, allocations: 31.89 kB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.004063, allocations: 1.75 kB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004064, allocations: 0 / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004069, allocations: 0 / 0.5223 GB, free: 15.41 MB / 458.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.0004688/0.004538, allocations: 384.5 kB / 0.5227 GB, free: 14.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.004584, allocations: 8.594 kB / 0.5227 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.004634, allocations: 12.88 kB / 0.5227 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.004746, allocations: 110 kB / 0.5228 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.004759, allocations: 384 / 0.5228 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.004772, allocations: 4.375 kB / 0.5228 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.004964, allocations: 63.44 kB / 0.5229 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.004972, allocations: 1.219 kB / 0.5229 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004983, allocations: 384 / 0.5229 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.004993, allocations: 384 / 0.5229 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.005038, allocations: 17.06 kB / 0.5229 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.005418, allocations: 267.7 kB / 0.5232 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.466e-05/0.005503, allocations: 31.69 kB / 0.5232 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.005536, allocations: 7.688 kB / 0.5232 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.005547, allocations: 5.375 kB / 0.5232 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.005574, allocations: 37.39 kB / 0.5232 GB, free: 14.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.005575, allocations: 0 / 0.5232 GB, free: 14.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001967/0.005772, allocations: 50.22 kB / 0.5233 GB, free: 14.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.005811, allocations: 55.41 kB / 0.5233 GB, free: 14.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.005913, allocations: 170.6 kB / 0.5235 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.005926, allocations: 25.7 kB / 0.5235 GB, free: 14.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.005984, allocations: 140 kB / 0.5237 GB, free: 13.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.006007, allocations: 11.91 kB / 0.5237 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.006047, allocations: 15.38 kB / 0.5237 GB, free: 13.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.006181, allocations: 0.4893 MB / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.006205, allocations: 0 / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.006228, allocations: 9.109 kB / 0.5242 GB, free: 13.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.006275, allocations: 23.91 kB / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006277, allocations: 0 / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.357e-05/0.006371, allocations: 46.42 kB / 0.5242 GB, free: 13.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.006388, allocations: 7.938 kB / 0.5242 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006393, allocations: 0.7188 kB / 0.5242 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.006409, allocations: 4 kB / 0.5242 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.006507, allocations: 8.75 kB / 0.5243 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.006513, allocations: 0 / 0.5243 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.006554, allocations: 16.88 kB / 0.5243 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.006561, allocations: 3.938 kB / 0.5243 GB, free: 13.21 MB / 458.7 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 (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.469e-05/0.006636, allocations: 155.3 kB / 0.5244 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.00667, allocations: 4 kB / 0.5244 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.006701, allocations: 11.94 kB / 0.5244 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006703, allocations: 0 / 0.5244 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.006709, allocations: 7.984 kB / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006713, allocations: 0 / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.006838, allocations: 120.6 kB / 0.5246 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.00684, allocations: 5.25 kB / 0.5246 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.006883, allocations: 8 kB / 0.5246 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.006886, allocations: 0 / 0.5246 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.006894, allocations: 4.562 kB / 0.5246 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.006897, allocations: 4.969 kB / 0.5246 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006899, allocations: 320 / 0.5246 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.007016, allocations: 191.9 kB / 0.5248 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.007024, allocations: 5.25 kB / 0.5248 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007036, allocations: 3.984 kB / 0.5248 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.007078, allocations: 7.938 kB / 0.5248 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.007117, allocations: 8.547 kB / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.00712, allocations: 0 / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.045e-05/0.007161, allocations: 136.1 kB / 0.5249 GB, free: 12.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.007161, allocations: 0 / 0.5249 GB, free: 12.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.00732, allocations: 4 kB / 0.5249 GB, free: 12.48 MB / 458.7 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 (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.0001112/0.007431, allocations: 105 kB / 0.525 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.007541, allocations: 15.69 kB / 0.525 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007542, allocations: 0 / 0.525 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.007577, allocations: 16.77 kB / 0.5251 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.007866, allocations: 9 kB / 0.5251 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.008212, allocations: 148.9 kB / 0.5252 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.343e-05/0.008256, allocations: 59.34 kB / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.805e-05/0.008284, allocations: 0 / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.00832, allocations: 8.5 kB / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of SimCode: time 8.91e-07/0.008321, allocations: 0 / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of Templates: time 0.002988/0.01131, allocations: 0.7327 MB / 0.526 GB, free: 11.37 MB / 458.7 MB " [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.9585774319712073]