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.0008959/0.0008959, allocations: 93.06 kB / 19.65 MB, free: 276 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.000966/0.000966, allocations: 165 kB / 23.02 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.9652/0.9652, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8092/0.8092, allocations: 154.8 MB / 414.7 MB, free: 468 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 1.693e-06/1.693e-06, allocations: 0 / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.945e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001735/0.001765, allocations: 1.038 MB / 0.5216 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003015, allocations: 1.043 MB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.003138, allocations: 7.938 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.00328, allocations: 15.8 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.003344, allocations: 28.77 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.003676, allocations: 76.59 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.003849, allocations: 180.1 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.003992, allocations: 57.72 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.004123, allocations: 103.8 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.004203, allocations: 55.8 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.004229, allocations: 16.5 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.004281, allocations: 21.78 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.004315, allocations: 35.89 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.00436, allocations: 51.83 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.004578, allocations: 139.4 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00458, allocations: 0 / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004581, allocations: 1.719 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.004587, allocations: 0 / 0.5234 GB, free: 15.03 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.0005954/0.005182, allocations: 0.5049 MB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.00522, allocations: 8.031 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.005347, allocations: 32.84 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.005562, allocations: 170.9 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.005587, allocations: 12.38 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.005628, allocations: 29.78 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.005861, allocations: 156.4 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.005871, allocations: 192 / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.005889, allocations: 12.12 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.005904, allocations: 5.344 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.006005, allocations: 48.55 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.006674, allocations: 486.9 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.006922, allocations: 109.6 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.00699, allocations: 47.67 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.007018, allocations: 4 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.007144, allocations: 118.7 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.007146, allocations: 0 / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0002783/0.007424, allocations: 162.9 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.007455, allocations: 55.97 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.007554, allocations: 200.4 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.007575, allocations: 33.64 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.007643, allocations: 168 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.007685, allocations: 71.38 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.007736, allocations: 44.83 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.007847, allocations: 0.4962 MB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.007927, allocations: 35.97 kB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.007996, allocations: 58.2 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.008104, allocations: 94.61 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008106, allocations: 2.812 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000186/0.008292, allocations: 153.5 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.008305, allocations: 4 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.00831, allocations: 0 / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.008327, allocations: 4 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.008432, allocations: 35.92 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.008443, allocations: 0 / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.008499, allocations: 26.62 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.008509, allocations: 4 kB / 0.5267 GB, free: 11.46 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.421e-05/0.008603, allocations: 172.5 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.008627, allocations: 19.94 kB / 0.5269 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.008831, allocations: 144.1 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.008835, allocations: 4.844 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.008838, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.008841, allocations: 1 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.009286, allocations: 0.5278 MB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.00929, allocations: 5.5 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.009379, allocations: 31.92 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.009384, allocations: 4 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.009397, allocations: 4 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.009401, allocations: 6.438 kB / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.009404, allocations: 7.938 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.009693, allocations: 367.4 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.009713, allocations: 23.83 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.009733, allocations: 8 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.009794, allocations: 10.69 kB / 0.528 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.009856, allocations: 27.89 kB / 0.528 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.00987, allocations: 15.94 kB / 0.528 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.009929, allocations: 143.2 kB / 0.5282 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009929, allocations: 4 kB / 0.5282 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001863/0.01012, allocations: 28 kB / 0.5282 GB, free: 9.812 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 0.0001187/0.01023, allocations: 107 kB / 0.5283 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.01043, allocations: 108.6 kB / 0.5284 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01043, allocations: 0 / 0.5284 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.0105, allocations: 70.41 kB / 0.5285 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01075, allocations: 23.92 kB / 0.5285 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.01142, allocations: 380 kB / 0.5288 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.01147, allocations: 76.06 kB / 0.5289 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.408e-05/0.01152, allocations: 13.48 kB / 0.5289 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.01156, allocations: 20.5 kB / 0.529 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01157, allocations: 3.469 kB / 0.529 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of Templates: time 0.003504/0.01507, allocations: 1.756 MB / 0.5307 GB, free: 7.293 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.956593760289252]