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.0009195/0.0009195, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.002107/0.002107, allocations: 170 kB / 23.27 MB, free: 1.223 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.9253/0.9253, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7701/0.7701, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.944e-06/1.944e-06, allocations: 0 / 0.5208 GB, free: 1.832 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.799e-05, allocations: 4.141 kB / 0.5208 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.004945/0.004963, allocations: 1.016 MB / 0.5218 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.006315, allocations: 1.047 MB / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.006438, allocations: 3.938 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.006578, allocations: 19.8 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.006645, allocations: 28.45 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.006927, allocations: 81.48 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.007103, allocations: 172.1 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.01027, allocations: 64.09 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.01041, allocations: 105.5 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.0105, allocations: 55.8 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.01053, allocations: 19.98 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.813e-05/0.01059, allocations: 23.98 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.01062, allocations: 31.91 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.01067, allocations: 52.58 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.01084, allocations: 131.4 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01084, allocations: 1.281 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.01085, allocations: 0 / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.01085, allocations: 0 / 0.5236 GB, free: 15 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.0005598/0.01141, allocations: 0.5124 MB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01145, allocations: 10.25 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.01155, allocations: 32.83 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.01172, allocations: 172.8 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.01174, allocations: 12.38 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.01177, allocations: 24.27 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.01196, allocations: 146.8 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.01197, allocations: 192 / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.01199, allocations: 12.12 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.01199, allocations: 4 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/0.01206, allocations: 41.14 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.01268, allocations: 454.1 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.01288, allocations: 95.2 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.01293, allocations: 44.5 kB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.01295, allocations: 5.031 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.01307, allocations: 114.7 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.01307, allocations: 1.469 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.003242/0.01632, allocations: 147.5 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01635, allocations: 59.41 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01646, allocations: 195.5 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.01648, allocations: 34.86 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.01655, allocations: 163.2 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.0166, allocations: 71.36 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.01665, allocations: 48.03 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01678, allocations: 0.4962 MB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.01685, allocations: 29.25 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.01691, allocations: 50.73 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.01702, allocations: 86.34 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01702, allocations: 4 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001807/0.0172, allocations: 137 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01722, allocations: 14.88 kB / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01722, allocations: 0 / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01723, allocations: 0 / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.01735, allocations: 35.98 kB / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01735, allocations: 4 kB / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.01741, allocations: 15.88 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01742, allocations: 8 kB / 0.5268 GB, free: 11.56 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 8.89e-05/0.01751, allocations: 167.5 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.01754, allocations: 23.89 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.01772, allocations: 130.7 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01773, allocations: 0 / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01773, allocations: 0 / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01773, allocations: 4 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.01823, allocations: 0.4938 MB / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01823, allocations: 0 / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01833, allocations: 38.98 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01834, allocations: 0 / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.01835, allocations: 8 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.01836, allocations: 7.984 kB / 0.5276 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01836, allocations: 3.938 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.01864, allocations: 355 kB / 0.528 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.01866, allocations: 26.27 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01868, allocations: 11.98 kB / 0.528 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.01876, allocations: 4 kB / 0.528 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.01881, allocations: 31.83 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01882, allocations: 4 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.01887, allocations: 143.2 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01887, allocations: 0 / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003236/0.02211, allocations: 29.31 kB / 0.5282 GB, free: 9.992 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 9.61e-05/0.02221, allocations: 112 kB / 0.5283 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.02236, allocations: 99.86 kB / 0.5284 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02236, allocations: 3.938 kB / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.02243, allocations: 64.92 kB / 0.5285 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.02272, allocations: 30.86 kB / 0.5285 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/0.02332, allocations: 379 kB / 0.5289 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.02337, allocations: 72.58 kB / 0.5289 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.346e-05/0.02343, allocations: 18.98 kB / 0.5289 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.02353, allocations: 99.14 kB / 0.529 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/0.02353, allocations: 0 / 0.529 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of Templates: time 0.006908/0.03044, allocations: 1.887 MB / 0.5309 GB, free: 7.273 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.7297120462171733]