Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.001887/0.001887, allocations: 93.47 kB / 19.44 MB, free: 340 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.002055/0.002055, allocations: 169.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.676/1.676, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.326/1.326, allocations: 154.6 MB / 414.1 MB, free: 0.6289 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.826e-06/2.826e-06, allocations: 0.875 kB / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.262e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.00343/0.003463, allocations: 0.8468 MB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.005742, allocations: 0.9095 MB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.005866, allocations: 8.969 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.833e-05/0.005924, allocations: 11.81 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.006064, allocations: 13.33 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.0064, allocations: 63.84 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.006809, allocations: 143.7 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.007058, allocations: 42.8 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.007291, allocations: 75.86 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.00744, allocations: 47.8 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.007494, allocations: 12.69 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.276e-05/0.007537, allocations: 16 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.007605, allocations: 33.19 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.007699, allocations: 35.91 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.008053, allocations: 147.5 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.008058, allocations: 0 / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.00806, allocations: 1.062 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.008066, allocations: 3.938 kB / 0.522 GB, free: 84 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001229/0.009295, allocations: 469.1 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.009348, allocations: 8.031 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.009461, allocations: 29.69 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.009881, allocations: 166.8 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.009912, allocations: 12.31 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.009953, allocations: 12.38 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.01059, allocations: 219.3 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.0106, allocations: 192 / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.01063, allocations: 5.125 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.01064, allocations: 4.375 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.01117, allocations: 113.1 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.0126, allocations: 463.8 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.01296, allocations: 83.62 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.01316, allocations: 40.17 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.0132, allocations: 4.906 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.01325, allocations: 37.39 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.01325, allocations: 0.8125 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0007163/0.01397, allocations: 142.3 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.01405, allocations: 51.41 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.01438, allocations: 214.9 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.01442, allocations: 25.7 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.01462, allocations: 174.5 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.01467, allocations: 32.53 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.01479, allocations: 43.31 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004167/0.01521, allocations: 0.494 MB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.01542, allocations: 39.92 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.01561, allocations: 35.98 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.016, allocations: 87.73 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.016, allocations: 0 / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005366/0.01654, allocations: 133.6 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.01656, allocations: 4 kB / 0.5251 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.01657, allocations: 4.688 kB / 0.5251 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.01659, allocations: 0 / 0.5251 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.01688, allocations: 28.8 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01689, allocations: 0 / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01704, allocations: 9.094 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.01706, allocations: 7.938 kB / 0.5251 GB, free: 12.73 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 (13): * Single equations (assignments): 13 * 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.0002163/0.01728, allocations: 167.5 kB / 0.5253 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.01736, allocations: 15.91 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.01791, allocations: 130.3 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.01792, allocations: 0 / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01792, allocations: 0 / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01793, allocations: 4 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.01905, allocations: 447.3 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01905, allocations: 0 / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.01924, allocations: 19.98 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01925, allocations: 0 / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.01927, allocations: 8 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01927, allocations: 0 / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.01928, allocations: 4 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.01993, allocations: 292.3 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.01997, allocations: 11.95 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.02, allocations: 3.938 kB / 0.5262 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.02022, allocations: 13.39 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.0203, allocations: 11.98 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.02031, allocations: 0 / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002048/0.02052, allocations: 157.2 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.02052, allocations: 5.281 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004914/0.02101, allocations: 23.89 kB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0002348/0.02124, allocations: 104 kB / 0.5265 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.02174, allocations: 95.09 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.02175, allocations: 0.5 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.02197, allocations: 54.73 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.02251, allocations: 16.09 kB / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.02344, allocations: 277.9 kB / 0.5269 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.02361, allocations: 93.34 kB / 0.527 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.0237, allocations: 16.47 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.02378, allocations: 16.5 kB / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.02378, allocations: 1.312 kB / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.006604/0.03038, allocations: 0.9905 MB / 0.528 GB, free: 9.691 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.164750154945068]