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.001153/0.001153, allocations: 80.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.001468/0.001468, allocations: 165.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.9246/0.9246, allocations: 177.2 MB / 203.6 MB, free: 5.773 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7238/0.7238, allocations: 154.9 MB / 414.9 MB, free: 0.5117 MB / 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: 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.0009241/0.0009241, allocations: 71.89 kB / 0.6199 GB, free: 12.68 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5343, allocations: 102 MB / 0.7195 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001887/0.5361, allocations: 0.9892 MB / 0.7205 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.5373, allocations: 1.03 MB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.5374, allocations: 3.406 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.5375, allocations: 19.41 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.5376, allocations: 19.52 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.5379, allocations: 81.03 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.538, allocations: 171.7 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.5382, allocations: 67.55 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.5383, allocations: 116.8 kB / 0.7219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.5384, allocations: 63.45 kB / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.5385, allocations: 16.31 kB / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.5385, allocations: 22.3 kB / 0.722 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.5386, allocations: 40.98 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.5386, allocations: 62.38 kB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.5389, allocations: 195.4 kB / 0.7223 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5389, allocations: 1.75 kB / 0.7223 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5389, allocations: 0 / 0.7223 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.5389, allocations: 0 / 0.7223 GB, free: 21.58 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.0006397/0.5396, allocations: 430.9 kB / 0.7227 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5396, allocations: 10.88 kB / 0.7227 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.5397, allocations: 20.23 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.5399, allocations: 168.7 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.54, allocations: 20.03 kB / 0.7229 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.54, allocations: 15.73 kB / 0.723 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.5403, allocations: 176 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5403, allocations: 0 / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.5403, allocations: 10.03 kB / 0.7231 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5403, allocations: 3.953 kB / 0.7231 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.5405, allocations: 108.5 kB / 0.7232 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/0.5412, allocations: 441.2 kB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.5415, allocations: 125.4 kB / 0.7238 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5416, allocations: 85.73 kB / 0.7239 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.5416, allocations: 2.844 kB / 0.7239 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.5418, allocations: 156.2 kB / 0.724 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.5418, allocations: 0 / 0.724 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0004049/0.5422, allocations: 219.6 kB / 0.7242 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.5422, allocations: 56.8 kB / 0.7243 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.5423, allocations: 150.1 kB / 0.7244 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.5424, allocations: 36.11 kB / 0.7245 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.5424, allocations: 116.2 kB / 0.7246 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.5424, allocations: 65.66 kB / 0.7246 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.5425, allocations: 38.75 kB / 0.7247 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.5425, allocations: 326.2 kB / 0.725 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.5427, allocations: 70.8 kB / 0.7251 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.5428, allocations: 87.23 kB / 0.7251 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.543, allocations: 146.3 kB / 0.7253 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.543, allocations: 4 kB / 0.7253 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002993/0.5433, allocations: 213.6 kB / 0.7255 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5433, allocations: 5.438 kB / 0.7255 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5433, allocations: 1.188 kB / 0.7255 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5433, allocations: 1.094 kB / 0.7255 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.5435, allocations: 44.67 kB / 0.7255 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.5435, allocations: 2.328 kB / 0.7255 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.5435, allocations: 26.05 kB / 0.7256 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.5436, allocations: 5.188 kB / 0.7256 GB, free: 19.33 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.212e-05/0.5436, allocations: 134.4 kB / 0.7257 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.5436, allocations: 14.19 kB / 0.7257 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.5439, allocations: 193.9 kB / 0.7259 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5439, allocations: 2.25 kB / 0.7259 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5439, allocations: 4.594 kB / 0.7259 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5439, allocations: 2.75 kB / 0.7259 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.5445, allocations: 0.5021 MB / 0.7264 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5445, allocations: 5.438 kB / 0.7264 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.5446, allocations: 41.92 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5446, allocations: 2.094 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5446, allocations: 8.375 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5446, allocations: 2.953 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.5446, allocations: 2.125 kB / 0.7265 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.545, allocations: 389.1 kB / 0.7268 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.545, allocations: 18.81 kB / 0.7268 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.545, allocations: 8.391 kB / 0.7268 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.5451, allocations: 14.36 kB / 0.7269 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.5452, allocations: 21.77 kB / 0.7269 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.5452, allocations: 11.25 kB / 0.7269 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.5452, allocations: 109 kB / 0.727 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5452, allocations: 0 / 0.727 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001806/0.5454, allocations: 33.23 kB / 0.727 GB, free: 18.32 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 9.877e-05/0.5455, allocations: 117 kB / 0.7271 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.5458, allocations: 157.9 kB / 0.7273 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5458, allocations: 1.125 kB / 0.7273 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5459, allocations: 85.64 kB / 0.7274 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.5462, allocations: 29.23 kB / 0.7274 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.5467, allocations: 373.4 kB / 0.7278 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.829e-05/0.5468, allocations: 122.4 kB / 0.7279 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.5468, allocations: 13.64 kB / 0.7279 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.5469, allocations: 20.05 kB / 0.7279 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.5469, allocations: 0 / 0.7279 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of Templates: time 0.004646/0.5515, allocations: 1.761 MB / 0.7296 GB, free: 17.53 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.282189785968512] Failed to read output from testmodel.py, exit status != 0: 0.557689925073646 0.56721583 0.026381977 Calling exit ...