Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001485/0.001485, allocations: 92.7 kB / 19.44 MB, free: 324 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.001699/0.001699, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.291/1.291, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5197 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.48e-05/3.649e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001891/0.001928, allocations: 0.6808 MB / 0.5204 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003111, allocations: 0.8286 MB / 0.5212 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.003148, allocations: 0 / 0.5212 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.003179, allocations: 4.906 kB / 0.5212 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.003249, allocations: 3.938 kB / 0.5212 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.515e-05/0.003314, allocations: 16.59 kB / 0.5212 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.632e-05/0.00341, allocations: 51.78 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.003504, allocations: 5.312 kB / 0.5212 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.965e-05/0.003603, allocations: 27.97 kB / 0.5213 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.003648, allocations: 15.92 kB / 0.5213 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003668, allocations: 4.625 kB / 0.5213 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.00368, allocations: 4 kB / 0.5213 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.003709, allocations: 9.516 kB / 0.5213 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.003746, allocations: 11.94 kB / 0.5213 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.003856, allocations: 43.91 kB / 0.5214 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003859, allocations: 0 / 0.5214 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00386, allocations: 0.5938 kB / 0.5214 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.003866, allocations: 5.406 kB / 0.5214 GB, free: 0.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008753/0.004741, allocations: 282.2 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.004779, allocations: 8.781 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.004824, allocations: 8.891 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004954, allocations: 110.8 kB / 0.5217 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.004971, allocations: 4.375 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.004982, allocations: 384 / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.005266, allocations: 75.22 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.005276, allocations: 2.688 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005286, allocations: 384 / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.005291, allocations: 4.312 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.005612, allocations: 67.86 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.006031, allocations: 210.2 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.006253, allocations: 54.47 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.006414, allocations: 33.95 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.006432, allocations: 5.156 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.00647, allocations: 34.56 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.006472, allocations: 0.5938 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005947/0.007066, allocations: 132.1 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.007116, allocations: 51.41 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.007228, allocations: 113.8 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.007248, allocations: 26.89 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.007319, allocations: 92.09 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.007341, allocations: 7.891 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.007385, allocations: 22.39 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.007568, allocations: 310.8 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.007728, allocations: 29.25 kB / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.00787, allocations: 37.27 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.008157, allocations: 72.25 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.008161, allocations: 4 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003348/0.008496, allocations: 93.95 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.008515, allocations: 7.938 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00852, allocations: 6.875 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.008537, allocations: 0 / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.008666, allocations: 15.98 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.00867, allocations: 320 / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.618e-05/0.008757, allocations: 19.94 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.008765, allocations: 3.984 kB / 0.5232 GB, free: 14.77 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.988e-05/0.008855, allocations: 107.3 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.008885, allocations: 7.984 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.008913, allocations: 11.94 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.008917, allocations: 4 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.00892, allocations: 0.5 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.008922, allocations: 3.281 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.00908, allocations: 113.3 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009081, allocations: 0 / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.009183, allocations: 15.92 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.009187, allocations: 3.984 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.009198, allocations: 4 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.009201, allocations: 7.938 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009202, allocations: 0 / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.009612, allocations: 193.8 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.009622, allocations: 4 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.009634, allocations: 0 / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.009752, allocations: 20.94 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.009795, allocations: 4 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.009798, allocations: 1 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.009864, allocations: 95.25 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009864, allocations: 0 / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002206/0.01008, allocations: 5.031 kB / 0.5238 GB, free: 14.13 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.0001246/0.01021, allocations: 96.81 kB / 0.5239 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.01058, allocations: 68.98 kB / 0.524 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01058, allocations: 0 / 0.524 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.01073, allocations: 36.61 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01103, allocations: 14.16 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.01139, allocations: 124.5 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.21e-05/0.01147, allocations: 68.3 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.01151, allocations: 8.453 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.01155, allocations: 9.094 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01155, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.00336/0.01491, allocations: 0.7491 MB / 0.5249 GB, free: 12.95 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.002369550988078]