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.0007429/0.0007429, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007833/0.0007833, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8437/0.8437, allocations: 177.2 MB / 203.6 MB, free: 5.785 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-531:686: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-531:694: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.6922/0.6922, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008076/0.0008076, allocations: 59.91 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3815, allocations: 102 MB / 0.7192 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001717/0.3832, allocations: 0.9853 MB / 0.7201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.3841, allocations: 1.027 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3842, allocations: 3.406 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.3843, allocations: 20.61 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.3844, allocations: 22.78 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.3846, allocations: 80.7 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.3848, allocations: 175.8 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3849, allocations: 67.67 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.385, allocations: 107.5 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.3851, allocations: 71.41 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.3851, allocations: 16.53 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.3852, allocations: 18.12 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.3852, allocations: 41.03 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.3853, allocations: 63.42 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3855, allocations: 210.1 kB / 0.722 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3855, allocations: 0 / 0.722 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3855, allocations: 4 kB / 0.722 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3855, allocations: 1.125 kB / 0.722 GB, free: 21.84 MB / 0.6355 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.0005535/0.3861, allocations: 431.2 kB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3861, allocations: 13.31 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.3862, allocations: 20.59 kB / 0.7225 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3864, allocations: 165.6 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3864, allocations: 14.19 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.3864, allocations: 20.23 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3866, allocations: 180.2 kB / 0.7228 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3866, allocations: 5.109 kB / 0.7228 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3867, allocations: 5.125 kB / 0.7228 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3867, allocations: 3.25 kB / 0.7228 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3868, allocations: 109.3 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.3874, allocations: 440.5 kB / 0.7234 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3877, allocations: 133.1 kB / 0.7235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3878, allocations: 79 kB / 0.7236 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3878, allocations: 7.234 kB / 0.7236 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.388, allocations: 150.6 kB / 0.7237 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.388, allocations: 0 / 0.7237 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0003438/0.3883, allocations: 224.2 kB / 0.7239 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.3883, allocations: 58.14 kB / 0.724 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.3884, allocations: 141.1 kB / 0.7241 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3884, allocations: 31.11 kB / 0.7241 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.3885, allocations: 124.8 kB / 0.7243 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3885, allocations: 69.48 kB / 0.7243 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3885, allocations: 39.58 kB / 0.7244 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.3886, allocations: 323.1 kB / 0.7247 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3887, allocations: 66.23 kB / 0.7247 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3888, allocations: 91.12 kB / 0.7248 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.389, allocations: 154 kB / 0.725 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.389, allocations: 0 / 0.725 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002717/0.3893, allocations: 205 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3893, allocations: 5.953 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3893, allocations: 1.281 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3893, allocations: 1.031 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3894, allocations: 40.23 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3894, allocations: 7.062 kB / 0.7252 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.3895, allocations: 26.48 kB / 0.7252 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3895, allocations: 13.55 kB / 0.7253 GB, free: 19.59 MB / 0.6355 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 5.761e-05/0.3895, allocations: 130.3 kB / 0.7254 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.3896, allocations: 18.19 kB / 0.7254 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3898, allocations: 192.5 kB / 0.7256 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3898, allocations: 7.406 kB / 0.7256 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3898, allocations: 0 / 0.7256 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3898, allocations: 1.5 kB / 0.7256 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.3902, allocations: 0.4987 MB / 0.7261 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3902, allocations: 1.344 kB / 0.7261 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.3903, allocations: 40.89 kB / 0.7261 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3903, allocations: 3.781 kB / 0.7261 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3904, allocations: 11.84 kB / 0.7261 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3904, allocations: 2.938 kB / 0.7261 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3904, allocations: 2.031 kB / 0.7261 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3907, allocations: 379.6 kB / 0.7265 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.3907, allocations: 19.19 kB / 0.7265 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.3907, allocations: 12.36 kB / 0.7265 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.3908, allocations: 17.81 kB / 0.7265 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3909, allocations: 25.33 kB / 0.7266 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3909, allocations: 7.156 kB / 0.7266 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.3909, allocations: 108.7 kB / 0.7267 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3909, allocations: 0 / 0.7267 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001815/0.3911, allocations: 36.8 kB / 0.7267 GB, free: 18.58 MB / 0.6355 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 7.487e-05/0.3912, allocations: 111.8 kB / 0.7268 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3914, allocations: 156.7 kB / 0.727 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3914, allocations: 0 / 0.727 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3915, allocations: 80.83 kB / 0.727 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.3917, allocations: 22.28 kB / 0.7271 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3922, allocations: 412.8 kB / 0.7275 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.851e-05/0.3922, allocations: 117.6 kB / 0.7276 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.3923, allocations: 29.5 kB / 0.7276 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.3923, allocations: 4 kB / 0.7276 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.003078/0.3954, allocations: 1.98 MB / 0.7295 GB, free: 17.8 MB / 0.6355 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.230268616927788] Failed to read output from testmodel.py, exit status != 0: 0.4002441910561174 0.40865479 0.021448162 Calling exit ...