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.001374/0.001374, allocations: 88.72 kB / 19.44 MB, free: 356 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.001607/0.001607, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.53/1.53, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.25/1.25, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 178] 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 2.986e-06/2.986e-06, allocations: 0 / 0.5197 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.208e-05, allocations: 5.578 kB / 0.5197 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002559/0.002591, allocations: 0.9899 MB / 0.5207 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.00455, allocations: 1.035 MB / 0.5217 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.004715, allocations: 7.938 kB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.004884, allocations: 15.8 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.004979, allocations: 20.75 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.005371, allocations: 78.69 kB / 0.5218 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.005664, allocations: 180.1 kB / 0.522 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.005859, allocations: 56.5 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.006099, allocations: 103.8 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.006256, allocations: 63.78 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.006297, allocations: 16 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.006369, allocations: 19.98 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.006426, allocations: 44.39 kB / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.506e-05/0.006511, allocations: 47.89 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.006879, allocations: 195.8 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.006883, allocations: 0.8438 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006884, allocations: 0 / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.006892, allocations: 0 / 0.5225 GB, free: 15.64 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.001023/0.007915, allocations: 424.4 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.00796, allocations: 12.97 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.008152, allocations: 28.84 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.008497, allocations: 172.4 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.008525, allocations: 16.23 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.008576, allocations: 24.36 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.008989, allocations: 173.6 kB / 0.5233 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.009001, allocations: 192 / 0.5233 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.009031, allocations: 16.11 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.009037, allocations: 0.6875 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.009353, allocations: 105.2 kB / 0.5234 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.0106, allocations: 449.7 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.01109, allocations: 136.6 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.0113, allocations: 80.81 kB / 0.5241 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.01134, allocations: 9.922 kB / 0.5241 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.01166, allocations: 133.1 kB / 0.5242 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 2.023e-06/0.01166, allocations: 0 / 0.5242 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0007311/0.01239, allocations: 241.7 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.01245, allocations: 55.41 kB / 0.5245 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.01263, allocations: 143.7 kB / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.01267, allocations: 33.7 kB / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01279, allocations: 116.5 kB / 0.5248 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/0.01288, allocations: 63.39 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.01299, allocations: 41.7 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004832/0.01347, allocations: 329.6 kB / 0.5252 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.01371, allocations: 67.95 kB / 0.5252 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.01396, allocations: 93.11 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.01434, allocations: 147 kB / 0.5255 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01435, allocations: 0 / 0.5255 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006034/0.01495, allocations: 210.6 kB / 0.5257 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.01497, allocations: 4 kB / 0.5257 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.01498, allocations: 1.031 kB / 0.5257 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.01501, allocations: 4 kB / 0.5257 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.01523, allocations: 45.12 kB / 0.5257 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01523, allocations: 0 / 0.5257 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.01539, allocations: 24.38 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.01541, allocations: 8 kB / 0.5257 GB, free: 12.14 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 0.0001701/0.01558, allocations: 139.5 kB / 0.5259 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.01562, allocations: 19.91 kB / 0.5259 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.01613, allocations: 191.2 kB / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01614, allocations: 0 / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.01615, allocations: 3.984 kB / 0.5261 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01615, allocations: 3.938 kB / 0.5261 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.01718, allocations: 0.5208 MB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01718, allocations: 0 / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.01737, allocations: 36.95 kB / 0.5266 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01738, allocations: 0 / 0.5266 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.0174, allocations: 8.938 kB / 0.5266 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.01741, allocations: 7.984 kB / 0.5266 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.01741, allocations: 3.938 kB / 0.5266 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.01816, allocations: 382 kB / 0.527 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.01819, allocations: 13.19 kB / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.01822, allocations: 8 kB / 0.527 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.01839, allocations: 20.61 kB / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.01847, allocations: 23.91 kB / 0.5271 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.01849, allocations: 12.84 kB / 0.5271 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000107/0.0186, allocations: 110.1 kB / 0.5272 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0186, allocations: 1.094 kB / 0.5272 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000317/0.01892, allocations: 31.94 kB / 0.5272 GB, free: 10.53 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.0001753/0.01909, allocations: 104.7 kB / 0.5273 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004954/0.01959, allocations: 157 kB / 0.5275 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01959, allocations: 0.6875 kB / 0.5275 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.01982, allocations: 85.06 kB / 0.5276 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.02019, allocations: 35.89 kB / 0.5276 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.02109, allocations: 368.3 kB / 0.5279 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.02125, allocations: 116.2 kB / 0.5281 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.617e-05/0.02132, allocations: 13.48 kB / 0.5281 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.02141, allocations: 20.5 kB / 0.5281 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/0.02141, allocations: 0 / 0.5281 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of Templates: time 0.006191/0.0276, allocations: 1.743 MB / 0.5298 GB, free: 7.961 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.885170056018978]