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.000794/0.000794, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008114/0.0008114, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9651/0.9651, 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.7545/0.7545, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.001067/0.001067, allocations: 71.89 kB / 0.6196 GB, free: 13.05 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.5504/0.5515, allocations: 101.9 MB / 0.7192 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002111/0.5536, allocations: 0.9912 MB / 0.7201 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.555, allocations: 1.032 MB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.5551, allocations: 7.594 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.5552, allocations: 19.5 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.5553, allocations: 15.42 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.5556, allocations: 80.22 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.5558, allocations: 176.9 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.556, allocations: 67.61 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.5561, allocations: 108.1 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.5562, allocations: 70.66 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.5563, allocations: 20.47 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.5563, allocations: 22.25 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.5564, allocations: 36.92 kB / 0.7217 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.5564, allocations: 62.83 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.5567, allocations: 187.9 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5567, allocations: 0 / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5567, allocations: 1.094 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5567, allocations: 0.7031 kB / 0.722 GB, free: 21.82 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.0006066/0.5573, allocations: 438.8 kB / 0.7224 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5574, allocations: 13.12 kB / 0.7224 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/0.5574, allocations: 19.64 kB / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.5577, allocations: 167.6 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5577, allocations: 10.47 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.5577, allocations: 16.5 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.558, allocations: 183.5 kB / 0.7228 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.558, allocations: 0 / 0.7228 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.558, allocations: 11.36 kB / 0.7228 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.558, allocations: 3.781 kB / 0.7228 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.5582, allocations: 107.7 kB / 0.7229 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.5589, allocations: 440.1 kB / 0.7233 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.5593, allocations: 133.3 kB / 0.7235 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.5594, allocations: 75.44 kB / 0.7235 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.5594, allocations: 2.922 kB / 0.7235 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.5596, allocations: 155.2 kB / 0.7237 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.615e-06/0.5596, allocations: 0 / 0.7237 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0004167/0.56, allocations: 223.6 kB / 0.7239 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.56, allocations: 58.72 kB / 0.724 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.5601, allocations: 144 kB / 0.7241 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.5602, allocations: 33.31 kB / 0.7241 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.5602, allocations: 115.1 kB / 0.7242 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.5603, allocations: 68.91 kB / 0.7243 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.5603, allocations: 43.52 kB / 0.7243 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.5604, allocations: 323.6 kB / 0.7247 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.5605, allocations: 69.8 kB / 0.7247 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5606, allocations: 90.34 kB / 0.7248 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.5608, allocations: 146.9 kB / 0.7249 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5608, allocations: 1.094 kB / 0.7249 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003095/0.5612, allocations: 217 kB / 0.7252 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5612, allocations: 4.938 kB / 0.7252 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5612, allocations: 1.031 kB / 0.7252 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5612, allocations: 1.812 kB / 0.7252 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5613, allocations: 41.31 kB / 0.7252 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5613, allocations: 1.281 kB / 0.7252 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.5614, allocations: 27.47 kB / 0.7252 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5614, allocations: 4.594 kB / 0.7252 GB, free: 19.57 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 7.838e-05/0.5615, allocations: 138.9 kB / 0.7254 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.5615, allocations: 18.09 kB / 0.7254 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.5618, allocations: 188.8 kB / 0.7256 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5618, allocations: 2.031 kB / 0.7256 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5618, allocations: 4 kB / 0.7256 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5618, allocations: 2.719 kB / 0.7256 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.5624, allocations: 0.506 MB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5624, allocations: 1.469 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.5625, allocations: 36.94 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5625, allocations: 3.219 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5625, allocations: 10.91 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5625, allocations: 3.969 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5625, allocations: 2.281 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.563, allocations: 383.4 kB / 0.7265 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.563, allocations: 19.19 kB / 0.7265 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.563, allocations: 8.047 kB / 0.7265 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.5631, allocations: 17.39 kB / 0.7265 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.5632, allocations: 27.08 kB / 0.7266 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5632, allocations: 5.984 kB / 0.7266 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.5633, allocations: 114 kB / 0.7267 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5633, allocations: 0 / 0.7267 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002074/0.5635, allocations: 32.95 kB / 0.7267 GB, free: 18.55 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.0001059/0.5636, allocations: 108.1 kB / 0.7268 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.5639, allocations: 155.4 kB / 0.7269 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5639, allocations: 0 / 0.7269 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.564, allocations: 92.11 kB / 0.727 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.5642, allocations: 26.11 kB / 0.7271 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.5648, allocations: 372.2 kB / 0.7274 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.489e-05/0.5649, allocations: 123.5 kB / 0.7275 GB, free: 18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.76e-05/0.5649, allocations: 15.47 kB / 0.7275 GB, free: 18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.565, allocations: 22.92 kB / 0.7276 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.565, allocations: 0 / 0.7276 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.004313/0.5693, allocations: 1.755 MB / 0.7293 GB, free: 17.78 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.463532925001346] Failed to read output from testmodel.py, exit status != 0: 0.5749666600022465 0.584442566 0.025848916000000003 Calling exit ...