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.002348/0.002348, allocations: 88.16 kB / 19.44 MB, free: 188 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.002664/0.002664, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.336/1.336, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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.565e-06/2.565e-06, allocations: 0 / 0.5197 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.385e-05, allocations: 3.469 kB / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002454/0.002488, allocations: 1.022 MB / 0.5207 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.00414, allocations: 1.031 MB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004252, allocations: 4 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.004408, allocations: 24.92 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.004471, allocations: 11.81 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.004789, allocations: 84.27 kB / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.005027, allocations: 177 kB / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.005193, allocations: 52.5 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.005385, allocations: 108.5 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.005518, allocations: 59.91 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.005559, allocations: 16.62 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.005618, allocations: 23.98 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.005675, allocations: 44.86 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.005743, allocations: 47.89 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.006047, allocations: 200 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.006049, allocations: 0 / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00605, allocations: 1.719 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.006056, allocations: 0 / 0.5225 GB, free: 15.61 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.0009737/0.00703, allocations: 0.511 MB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.007073, allocations: 17.7 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.007234, allocations: 32.78 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.007528, allocations: 174.2 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.007555, allocations: 16.98 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.007598, allocations: 20.38 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.00794, allocations: 161.8 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.007952, allocations: 192 / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.007982, allocations: 16.11 kB / 0.5234 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.007991, allocations: 5.25 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.00827, allocations: 95.89 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.009599, allocations: 0.4933 MB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.009992, allocations: 137.6 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.01017, allocations: 77.38 kB / 0.5242 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.0102, allocations: 8 kB / 0.5242 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.01047, allocations: 144.8 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.01047, allocations: 0 / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0005419/0.01102, allocations: 216 kB / 0.5246 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.01106, allocations: 56.31 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.01128, allocations: 218.8 kB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.01131, allocations: 30.73 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01144, allocations: 167.2 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.01151, allocations: 71.39 kB / 0.5251 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.0116, allocations: 52.2 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000293/0.0119, allocations: 0.5079 MB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.01208, allocations: 53 kB / 0.5257 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.01227, allocations: 90.8 kB / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.01258, allocations: 139.4 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01258, allocations: 0 / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004744/0.01306, allocations: 207.4 kB / 0.5261 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01307, allocations: 8 kB / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01308, allocations: 0 / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.0131, allocations: 4 kB / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.01328, allocations: 35.92 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01329, allocations: 0 / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.0134, allocations: 23.88 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.01342, allocations: 11.03 kB / 0.5262 GB, free: 11.65 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.0001649/0.01359, allocations: 176.5 kB / 0.5263 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.01363, allocations: 27.84 kB / 0.5264 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.01404, allocations: 178.7 kB / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01405, allocations: 0 / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01405, allocations: 1.5 kB / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01405, allocations: 4 kB / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/0.01498, allocations: 0.5883 MB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01498, allocations: 0 / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.01515, allocations: 35.86 kB / 0.5272 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01515, allocations: 4 kB / 0.5272 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.01517, allocations: 8 kB / 0.5272 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.01518, allocations: 4 kB / 0.5272 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01518, allocations: 3.938 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.01582, allocations: 437.1 kB / 0.5276 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.01585, allocations: 15.91 kB / 0.5276 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.01588, allocations: 8 kB / 0.5276 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.01602, allocations: 11.92 kB / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.01609, allocations: 21.28 kB / 0.5276 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.01611, allocations: 12 kB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001196/0.01623, allocations: 151.2 kB / 0.5278 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01623, allocations: 4.875 kB / 0.5278 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002713/0.0165, allocations: 31.94 kB / 0.5278 GB, free: 9.836 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.0001576/0.01666, allocations: 104.3 kB / 0.5279 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.01709, allocations: 164.3 kB / 0.5281 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.0171, allocations: 0 / 0.5281 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.01727, allocations: 86.03 kB / 0.5282 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.01761, allocations: 27.92 kB / 0.5282 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.01839, allocations: 392.3 kB / 0.5286 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.01856, allocations: 113.7 kB / 0.5287 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.592e-05/0.01866, allocations: 14.77 kB / 0.5287 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.01873, allocations: 17.28 kB / 0.5287 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01873, allocations: 7.938 kB / 0.5287 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of Templates: time 0.006831/0.02556, allocations: 1.751 MB / 0.5304 GB, free: 7.215 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.242901643970981]