Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001022/0.001022, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001546/0.001546, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.072/1.072, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8154/0.8154, allocations: 154.9 MB / 415.9 MB, free: 268 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0.875 kB / 0.522 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.866e-05, allocations: 9.453 kB / 0.522 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001551/0.001569, allocations: 1.014 MB / 0.523 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.002747, allocations: 1.044 MB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.002856, allocations: 7.938 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.002996, allocations: 15.8 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.003058, allocations: 33.03 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.0033, allocations: 71.8 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003453, allocations: 180.8 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.003584, allocations: 56.52 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.0037, allocations: 104.6 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.003776, allocations: 55.8 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.0038, allocations: 18.78 kB / 0.5245 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.003847, allocations: 20 kB / 0.5245 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.00388, allocations: 35.89 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.004206, allocations: 55.83 kB / 0.5246 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.004378, allocations: 135.4 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.00438, allocations: 0 / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004381, allocations: 0 / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004385, allocations: 0 / 0.5247 GB, free: 14.62 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.0005242/0.004909, allocations: 0.5054 MB / 0.5252 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.004945, allocations: 12.03 kB / 0.5252 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.812e-05/0.005043, allocations: 32.84 kB / 0.5253 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.005216, allocations: 166.4 kB / 0.5254 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005236, allocations: 13.03 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.00526, allocations: 24.33 kB / 0.5255 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.005434, allocations: 149.2 kB / 0.5256 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005443, allocations: 192 / 0.5256 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.005457, allocations: 9.094 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.005463, allocations: 4 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.00552, allocations: 41.64 kB / 0.5257 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.006061, allocations: 461.6 kB / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.00625, allocations: 95.22 kB / 0.5262 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.006301, allocations: 42.62 kB / 0.5262 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.006323, allocations: 9.344 kB / 0.5262 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.006431, allocations: 116.4 kB / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.006433, allocations: 0 / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0002023/0.006635, allocations: 146 kB / 0.5265 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.006662, allocations: 51.41 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.006755, allocations: 200.8 kB / 0.5267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.006775, allocations: 29.7 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.006841, allocations: 167.2 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.006883, allocations: 71.36 kB / 0.527 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.006935, allocations: 55.98 kB / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.007051, allocations: 0.4961 MB / 0.5275 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.00711, allocations: 21.33 kB / 0.5275 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.817e-05/0.007159, allocations: 54.58 kB / 0.5276 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.007243, allocations: 87.91 kB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.007248, allocations: 0 / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001433/0.007392, allocations: 139 kB / 0.5278 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007404, allocations: 4 kB / 0.5278 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.007409, allocations: 0 / 0.5278 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.007418, allocations: 5 kB / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.007511, allocations: 35.92 kB / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.007514, allocations: 1.062 kB / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.007563, allocations: 23.92 kB / 0.5279 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.007572, allocations: 4 kB / 0.5279 GB, free: 11.19 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.173e-05/0.007654, allocations: 169.5 kB / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.007673, allocations: 20.62 kB / 0.5281 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.007826, allocations: 145 kB / 0.5282 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007827, allocations: 4 kB / 0.5282 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.007829, allocations: 0 / 0.5282 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007833, allocations: 0 / 0.5282 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.008231, allocations: 0.4908 MB / 0.5287 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.008234, allocations: 7.984 kB / 0.5287 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.008319, allocations: 31.92 kB / 0.5287 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008322, allocations: 4 kB / 0.5287 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.008335, allocations: 8 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008336, allocations: 0 / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.008339, allocations: 4 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.00857, allocations: 355.2 kB / 0.5291 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.008584, allocations: 15.84 kB / 0.5291 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.008602, allocations: 11.98 kB / 0.5291 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.008664, allocations: 13.62 kB / 0.5291 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.008711, allocations: 27.83 kB / 0.5291 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.008721, allocations: 8 kB / 0.5291 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.008769, allocations: 142.2 kB / 0.5293 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-08/0.008769, allocations: 1.062 kB / 0.5293 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001705/0.008939, allocations: 32 kB / 0.5293 GB, free: 9.613 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.609e-05/0.009025, allocations: 112.4 kB / 0.5294 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.009163, allocations: 96 kB / 0.5295 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009165, allocations: 3.312 kB / 0.5295 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.009223, allocations: 63.52 kB / 0.5296 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009445, allocations: 31.92 kB / 0.5296 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.009998, allocations: 369.7 kB / 0.53 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.135e-05/0.01005, allocations: 72.08 kB / 0.53 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.844e-05/0.0101, allocations: 14.45 kB / 0.53 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.0102, allocations: 98.19 kB / 0.5301 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.0102, allocations: 1.531 kB / 0.5301 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of Templates: time 0.003919/0.01412, allocations: 1.966 MB / 0.5321 GB, free: 6.84 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8311048289760947]