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.001902/0.001902, allocations: 85.48 kB / 19.44 MB, free: 344 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.002161/0.002161, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.717/1.717, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.372/1.372, allocations: 154.6 MB / 414.1 MB, free: 0.6211 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 2.925e-06/2.925e-06, allocations: 0.6562 kB / 0.5197 GB, free: 2.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.615e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002037/0.002073, allocations: 0.6807 MB / 0.5204 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003307, allocations: 0.8365 MB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.003349, allocations: 0 / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.003378, allocations: 3.938 kB / 0.5212 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.003469, allocations: 4.656 kB / 0.5212 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/0.003537, allocations: 13.08 kB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.003642, allocations: 47.84 kB / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.00375, allocations: 8.484 kB / 0.5212 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.003857, allocations: 27.86 kB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.00391, allocations: 20.66 kB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.003935, allocations: 4 kB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.003945, allocations: 5.219 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.003966, allocations: 7.938 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.004001, allocations: 11.98 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.004114, allocations: 44.48 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.004118, allocations: 3.938 kB / 0.5214 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004119, allocations: 1.812 kB / 0.5214 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004124, allocations: 0 / 0.5214 GB, free: 0.7344 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.0006388/0.004763, allocations: 376.2 kB / 0.5217 GB, free: 336 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.004803, allocations: 8.031 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.004848, allocations: 10.61 kB / 0.5217 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.004989, allocations: 112.6 kB / 0.5218 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.005003, allocations: 384 / 0.5218 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.00502, allocations: 8.375 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.00523, allocations: 59.64 kB / 0.5219 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.005241, allocations: 4.172 kB / 0.5219 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.005251, allocations: 384 / 0.5219 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.005255, allocations: 384 / 0.5219 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.005445, allocations: 50.12 kB / 0.522 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.005904, allocations: 271.8 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.006063, allocations: 47.05 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.006166, allocations: 33.05 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.006184, allocations: 3.984 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.006222, allocations: 37.39 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.006223, allocations: 0.5 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004044/0.006627, allocations: 96.97 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.006672, allocations: 51.41 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.006814, allocations: 173.9 kB / 0.5226 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.006834, allocations: 25.7 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.006929, allocations: 146.8 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.006947, allocations: 3.953 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.006993, allocations: 23.38 kB / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00027/0.007263, allocations: 496.6 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.007356, allocations: 24.48 kB / 0.5233 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.007436, allocations: 20.55 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.007604, allocations: 52.52 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007606, allocations: 0.625 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000214/0.00782, allocations: 75.02 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.007836, allocations: 7.938 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.00784, allocations: 0 / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.007855, allocations: 2.625 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.007952, allocations: 15.92 kB / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.007957, allocations: 3.938 kB / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.008006, allocations: 7.953 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.008012, allocations: 0 / 0.5235 GB, free: 14.34 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 0.0001245/0.008137, allocations: 163.3 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.008175, allocations: 7.984 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.008203, allocations: 7.938 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008205, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.008208, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.00821, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.008382, allocations: 128.6 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008383, allocations: 0 / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.00845, allocations: 13.02 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008452, allocations: 0 / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.008459, allocations: 0.9375 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.008463, allocations: 3.938 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008464, allocations: 320 / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.008797, allocations: 237 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.008807, allocations: 4.656 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.008821, allocations: 0 / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.008896, allocations: 9.25 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.008944, allocations: 3.984 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.008947, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.009038, allocations: 141.6 kB / 0.5242 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009038, allocations: 0 / 0.5242 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00023/0.009268, allocations: 8 kB / 0.5242 GB, free: 13.57 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.0001513/0.009419, allocations: 95.25 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.009665, allocations: 54.59 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009667, allocations: 0 / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.009775, allocations: 35.61 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.01005, allocations: 15.98 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.01045, allocations: 142.1 kB / 0.5245 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.01052, allocations: 67.16 kB / 0.5246 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.01056, allocations: 15.78 kB / 0.5246 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.0106, allocations: 8.5 kB / 0.5246 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.0106, allocations: 0 / 0.5246 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.003588/0.01418, allocations: 0.7381 MB / 0.5253 GB, free: 12.39 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.195298318983987]