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.0009398/0.0009398, 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.001111/0.001111, allocations: 173 kB / 23.49 MB, free: 1.059 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.9674/0.9674, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7721/0.7721, allocations: 154.6 MB / 414.9 MB, free: 0.6875 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.793e-06/1.793e-06, allocations: 0 / 0.5204 GB, free: 2.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.959e-05, allocations: 4.422 kB / 0.5204 GB, free: 2.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002013/0.002042, allocations: 1.028 MB / 0.5214 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.00312, allocations: 1.053 MB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.003219, allocations: 0.5 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.003369, allocations: 24.98 kB / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.003419, allocations: 15.81 kB / 0.5225 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.003701, allocations: 76.38 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.003854, allocations: 180.7 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.003991, allocations: 64.09 kB / 0.5228 GB, free: 28 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.004117, allocations: 105.1 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.004192, allocations: 55.84 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.004216, allocations: 16 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.004265, allocations: 20.97 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.004297, allocations: 43.81 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.004346, allocations: 51.83 kB / 0.5231 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.004515, allocations: 138.9 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004517, allocations: 0 / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004518, allocations: 0 / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004522, allocations: 0 / 0.5232 GB, free: 15.61 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.0005393/0.005061, allocations: 0.4996 MB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.005104, allocations: 11.97 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.005233, allocations: 40.78 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.005457, allocations: 170.3 kB / 0.5239 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.005481, allocations: 12.94 kB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.005511, allocations: 20.89 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.005731, allocations: 162 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.00574, allocations: 192 / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.005755, allocations: 8.125 kB / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.005764, allocations: 5.469 kB / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.00585, allocations: 52.55 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.006481, allocations: 480.3 kB / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.006707, allocations: 97.2 kB / 0.5247 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.00677, allocations: 51.7 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.006793, allocations: 4 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.006916, allocations: 133.2 kB / 0.5249 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 2.315e-06/0.006918, allocations: 0.5 kB / 0.5249 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0002504/0.007168, allocations: 157.5 kB / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.007196, allocations: 52.12 kB / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.007306, allocations: 199.8 kB / 0.5253 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.007327, allocations: 34.27 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.007394, allocations: 165 kB / 0.5255 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.007438, allocations: 71.38 kB / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.007488, allocations: 47.36 kB / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.007601, allocations: 0.4923 MB / 0.526 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.00768, allocations: 35.92 kB / 0.5261 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.007754, allocations: 61.55 kB / 0.5261 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.007883, allocations: 94.86 kB / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.007886, allocations: 0 / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001906/0.008077, allocations: 157.4 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.008092, allocations: 4 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.0081, allocations: 9.75 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.008117, allocations: 4 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.008232, allocations: 35.92 kB / 0.5264 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.008239, allocations: 0 / 0.5264 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.008295, allocations: 20.86 kB / 0.5265 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.008306, allocations: 4 kB / 0.5265 GB, free: 12.05 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 9.688e-05/0.008403, allocations: 169.3 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.008426, allocations: 19.91 kB / 0.5266 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.008623, allocations: 149.9 kB / 0.5268 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008626, allocations: 0.5312 kB / 0.5268 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.008631, allocations: 3.031 kB / 0.5268 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.008636, allocations: 4 kB / 0.5268 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.009075, allocations: 0.5264 MB / 0.5273 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.009077, allocations: 0 / 0.5273 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.00919, allocations: 39.05 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.009194, allocations: 3.984 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.00921, allocations: 8 kB / 0.5274 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.009213, allocations: 4 kB / 0.5274 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.009215, allocations: 3.938 kB / 0.5274 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.009484, allocations: 365.8 kB / 0.5277 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.009497, allocations: 11.91 kB / 0.5277 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.009515, allocations: 13.8 kB / 0.5277 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.009581, allocations: 15.94 kB / 0.5277 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.009629, allocations: 19.95 kB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.009639, allocations: 8 kB / 0.5278 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.00969, allocations: 149 kB / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009691, allocations: 0 / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001743/0.009865, allocations: 31.94 kB / 0.5279 GB, free: 10.41 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.442e-05/0.009949, allocations: 113.7 kB / 0.5281 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.01012, allocations: 103.5 kB / 0.5282 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01013, allocations: 3.844 kB / 0.5282 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.01019, allocations: 67.53 kB / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01042, allocations: 35.91 kB / 0.5283 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.01105, allocations: 371 kB / 0.5286 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.01111, allocations: 72.08 kB / 0.5287 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.91e-05/0.01116, allocations: 17.48 kB / 0.5287 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.01121, allocations: 29.05 kB / 0.5287 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.01121, allocations: 0 / 0.5287 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of Templates: time 0.003511/0.01472, allocations: 1.75 MB / 0.5304 GB, free: 7.891 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: 4.020299575990066]