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.001135/0.001135, allocations: 76.45 kB / 19.9 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.0008664/0.0008664, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.9481/0.9481, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7431/0.7431, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.001396/0.001396, allocations: 73.05 kB / 0.6196 GB, free: 13.04 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.5639/0.5653, allocations: 101.9 MB / 0.7192 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00177/0.5671, allocations: 0.9873 MB / 0.7201 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.5682, allocations: 1.035 MB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.5683, allocations: 3.5 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.5685, allocations: 23.36 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.5685, allocations: 19.7 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.5688, allocations: 76.03 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.569, allocations: 177.3 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.5692, allocations: 66.55 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.5693, allocations: 112.4 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.5694, allocations: 70.53 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.5695, allocations: 17.25 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.5695, allocations: 18.66 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.5696, allocations: 36.66 kB / 0.7217 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.5696, allocations: 62.05 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.5699, allocations: 192.9 kB / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5699, allocations: 0 / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5699, allocations: 0 / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5699, allocations: 1.094 kB / 0.722 GB, free: 21.8 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.0006418/0.5705, allocations: 434.9 kB / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5706, allocations: 13.61 kB / 0.7224 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.595e-05/0.5707, allocations: 20.58 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.5709, allocations: 164.9 kB / 0.7226 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.5709, allocations: 15.31 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.571, allocations: 16.12 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.5712, allocations: 185.2 kB / 0.7228 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5712, allocations: 0 / 0.7228 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.5712, allocations: 6.219 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5712, allocations: 4 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.5714, allocations: 107.6 kB / 0.7229 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.5721, allocations: 444.4 kB / 0.7233 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.5724, allocations: 128.8 kB / 0.7235 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.5726, allocations: 78.31 kB / 0.7235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.5726, allocations: 2.875 kB / 0.7235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.5728, allocations: 152.2 kB / 0.7237 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.304e-06/0.5728, allocations: 7.938 kB / 0.7237 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0003712/0.5731, allocations: 220.2 kB / 0.7239 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.5732, allocations: 58.02 kB / 0.724 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.5732, allocations: 145.7 kB / 0.7241 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.5733, allocations: 30.8 kB / 0.7241 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.5733, allocations: 116.5 kB / 0.7242 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.5733, allocations: 65.45 kB / 0.7243 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.5734, allocations: 39.81 kB / 0.7243 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.5734, allocations: 330.9 kB / 0.7246 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.5736, allocations: 65.17 kB / 0.7247 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.5737, allocations: 90.56 kB / 0.7248 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.5739, allocations: 147 kB / 0.7249 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5739, allocations: 1.156 kB / 0.7249 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002932/0.5742, allocations: 209.4 kB / 0.7251 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5742, allocations: 5.062 kB / 0.7251 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5742, allocations: 0.8438 kB / 0.7251 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5742, allocations: 1.125 kB / 0.7251 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5743, allocations: 49.06 kB / 0.7252 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5743, allocations: 1.219 kB / 0.7252 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.5744, allocations: 31.47 kB / 0.7252 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5744, allocations: 4.938 kB / 0.7252 GB, free: 19.55 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 6.637e-05/0.5745, allocations: 136 kB / 0.7254 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.5745, allocations: 17.44 kB / 0.7254 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.5748, allocations: 188 kB / 0.7256 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.5748, allocations: 3.453 kB / 0.7256 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5748, allocations: 0 / 0.7256 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5748, allocations: 2.547 kB / 0.7256 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.5753, allocations: 0.5063 MB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.5753, allocations: 1.281 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.5754, allocations: 40.33 kB / 0.7261 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5754, allocations: 2.969 kB / 0.7261 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.5754, allocations: 12.7 kB / 0.7261 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5754, allocations: 2.094 kB / 0.7261 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5754, allocations: 2.797 kB / 0.7261 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.5758, allocations: 380.1 kB / 0.7265 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.5759, allocations: 22.97 kB / 0.7265 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.5759, allocations: 7.703 kB / 0.7265 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.576, allocations: 13.36 kB / 0.7265 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.576, allocations: 34.05 kB / 0.7265 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.576, allocations: 11 kB / 0.7266 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.5761, allocations: 109.8 kB / 0.7267 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5761, allocations: 0 / 0.7267 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001924/0.5763, allocations: 32.73 kB / 0.7267 GB, free: 18.54 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 0.0001024/0.5764, allocations: 109.4 kB / 0.7268 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.5767, allocations: 159.3 kB / 0.727 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5767, allocations: 0 / 0.727 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5768, allocations: 86.98 kB / 0.727 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.5771, allocations: 22.91 kB / 0.7271 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.5776, allocations: 377.8 kB / 0.7274 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.017e-05/0.5777, allocations: 119.6 kB / 0.7275 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.648e-05/0.5777, allocations: 18.64 kB / 0.7275 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.5778, allocations: 18.2 kB / 0.7276 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/0.5778, allocations: 0 / 0.7276 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.00434/0.5821, allocations: 1.756 MB / 0.7293 GB, free: 17.76 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.453984132967889] Failed to read output from testmodel.py, exit status != 0: 0.5901584250386804 0.598408531 0.026629302 Calling exit ...