Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.0009452/0.0009452, 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.0009534/0.0009534, allocations: 173 kB / 23.03 MB, free: 1.547 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 0.8912/0.8912, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7313/0.7313, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 179] 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.17e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001733/0.001755, allocations: 1.023 MB / 0.5214 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002822, allocations: 1.057 MB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.002918, allocations: 4.688 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.00305, allocations: 21.02 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.0031, allocations: 15.75 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.003387, allocations: 81.09 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.003542, allocations: 176.1 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.00369, allocations: 64.09 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.003815, allocations: 107.7 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.003894, allocations: 56.56 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.003919, allocations: 16.84 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.003976, allocations: 27.98 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.004009, allocations: 35.89 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.004058, allocations: 54.58 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.00424, allocations: 127.4 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004242, allocations: 0 / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004243, allocations: 0 / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.00425, allocations: 3.984 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006123/0.004862, allocations: 0.5078 MB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.004905, allocations: 8.531 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.005034, allocations: 32.84 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.005237, allocations: 171.6 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.005258, allocations: 12.38 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.005287, allocations: 20.33 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.005524, allocations: 161.8 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.005535, allocations: 0.7812 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.005558, allocations: 8.125 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.00557, allocations: 4.844 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.005679, allocations: 60.48 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.006275, allocations: 468.6 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.006498, allocations: 100.2 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.006562, allocations: 60.2 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.006588, allocations: 4 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.006706, allocations: 124 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.006708, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0002384/0.006946, allocations: 154.8 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.006972, allocations: 56.03 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.007077, allocations: 203 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.007096, allocations: 35.23 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.007157, allocations: 159.2 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.007202, allocations: 71.39 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.007249, allocations: 47.36 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.00736, allocations: 0.4968 MB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/0.007432, allocations: 33.33 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.007496, allocations: 62.8 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.007607, allocations: 94.3 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.00761, allocations: 0.75 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000167/0.007777, allocations: 150.5 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007789, allocations: 8 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007793, allocations: 5.031 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.007808, allocations: 3.984 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.007906, allocations: 39.92 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.007911, allocations: 4.719 kB / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.007957, allocations: 18.62 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.007968, allocations: 8 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.649e-05/0.008044, allocations: 168.5 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.008064, allocations: 23.89 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.008232, allocations: 140.9 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.008235, allocations: 4 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.008239, allocations: 6.922 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008242, allocations: 0 / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.008668, allocations: 0.529 MB / 0.5273 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.00867, allocations: 0 / 0.5273 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.008758, allocations: 41.41 kB / 0.5273 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.008762, allocations: 4 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.008775, allocations: 4 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008777, allocations: 1.562 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.00878, allocations: 7.938 kB / 0.5274 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.009037, allocations: 368.8 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.009051, allocations: 16.97 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.009069, allocations: 8 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.009131, allocations: 19.92 kB / 0.5277 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.00918, allocations: 20.62 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.009189, allocations: 7.984 kB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.00924, allocations: 143.8 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.00924, allocations: 3.281 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001687/0.009409, allocations: 32 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 8.428e-05/0.009493, allocations: 111.1 kB / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.009668, allocations: 115.4 kB / 0.5282 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00967, allocations: 0 / 0.5282 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/0.00973, allocations: 58.55 kB / 0.5282 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.009946, allocations: 27.92 kB / 0.5282 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.01054, allocations: 374.1 kB / 0.5286 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.01059, allocations: 80 kB / 0.5287 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.01063, allocations: 15.3 kB / 0.5287 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.01068, allocations: 26.02 kB / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01068, allocations: 0 / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of Templates: time 0.003277/0.01395, allocations: 1.827 MB / 0.5305 GB, free: 7.496 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4605761701241136]