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.001027/0.001027, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001525/0.001525, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9468/0.9468, allocations: 177.1 MB / 204.5 MB, free: 5.5 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-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 0.7789/0.7789, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.5216 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.141e-05, allocations: 3.344 kB / 0.5216 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002474/0.002506, allocations: 0.9995 MB / 0.5226 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.004063, allocations: 1.051 MB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.004223, allocations: 7.938 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.004374, allocations: 19.69 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.004464, allocations: 26.08 kB / 0.5237 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.004814, allocations: 71.78 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.005038, allocations: 180.1 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.005233, allocations: 61.81 kB / 0.524 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.0054, allocations: 108.3 kB / 0.5241 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.00549, allocations: 56.81 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.005514, allocations: 16 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.005572, allocations: 20 kB / 0.5242 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.005609, allocations: 44.7 kB / 0.5242 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.005649, allocations: 47.89 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.005845, allocations: 128 kB / 0.5244 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005849, allocations: 0 / 0.5244 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.00585, allocations: 0.6875 kB / 0.5244 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.005856, allocations: 4 kB / 0.5244 GB, free: 15.05 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.000546/0.006402, allocations: 0.5124 MB / 0.5249 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.006436, allocations: 17.78 kB / 0.5249 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.006541, allocations: 28.84 kB / 0.5249 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.006719, allocations: 164.9 kB / 0.5251 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.00674, allocations: 12.38 kB / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.006764, allocations: 22.08 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.006946, allocations: 153 kB / 0.5252 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.006959, allocations: 4.188 kB / 0.5253 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.006973, allocations: 8.125 kB / 0.5253 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.006981, allocations: 4.75 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.007036, allocations: 37.16 kB / 0.5253 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.007583, allocations: 458.3 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.007774, allocations: 95.2 kB / 0.5258 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.007817, allocations: 47.66 kB / 0.5259 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.007837, allocations: 9.734 kB / 0.5259 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.007951, allocations: 108.3 kB / 0.526 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 5.27e-06/0.007956, allocations: 0 / 0.526 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0002041/0.00816, allocations: 147.6 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.008188, allocations: 57.59 kB / 0.5262 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.008277, allocations: 200.3 kB / 0.5264 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.008296, allocations: 29.7 kB / 0.5264 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.008362, allocations: 167.2 kB / 0.5266 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.008404, allocations: 75.36 kB / 0.5266 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.008713, allocations: 43.34 kB / 0.5267 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.008825, allocations: 0.4967 MB / 0.5272 GB, free: 12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.008898, allocations: 28.53 kB / 0.5272 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.008951, allocations: 55.58 kB / 0.5272 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.009034, allocations: 85.84 kB / 0.5273 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.009037, allocations: 0.5625 kB / 0.5273 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000144/0.009181, allocations: 138.8 kB / 0.5275 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.009194, allocations: 4 kB / 0.5275 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.009198, allocations: 0 / 0.5275 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.009207, allocations: 5.031 kB / 0.5275 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.009307, allocations: 39.97 kB / 0.5275 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.009309, allocations: 0 / 0.5275 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.009358, allocations: 16.89 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.009366, allocations: 4 kB / 0.5275 GB, free: 11.61 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 7.897e-05/0.009445, allocations: 175.7 kB / 0.5277 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.009466, allocations: 27.88 kB / 0.5277 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.009621, allocations: 126.7 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.009624, allocations: 7.938 kB / 0.5278 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.009626, allocations: 0 / 0.5278 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.009629, allocations: 0 / 0.5278 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.01004, allocations: 0.4909 MB / 0.5283 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01004, allocations: 7.938 kB / 0.5283 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.01013, allocations: 27.98 kB / 0.5284 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01013, allocations: 4 kB / 0.5284 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.01014, allocations: 4 kB / 0.5284 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01014, allocations: 5.5 kB / 0.5284 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.01015, allocations: 11.92 kB / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01039, allocations: 353.3 kB / 0.5287 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.0104, allocations: 19.84 kB / 0.5287 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.01042, allocations: 6.656 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.01048, allocations: 19.92 kB / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.01052, allocations: 23.91 kB / 0.5288 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-06/0.01053, allocations: 8 kB / 0.5288 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.01058, allocations: 147.1 kB / 0.5289 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01058, allocations: 0 / 0.5289 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001772/0.01076, allocations: 30.44 kB / 0.529 GB, free: 10.03 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.000125/0.01089, allocations: 107.1 kB / 0.5291 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.01104, allocations: 96.55 kB / 0.5292 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01104, allocations: 0 / 0.5292 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.01109, allocations: 64 kB / 0.5292 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01133, allocations: 36.2 kB / 0.5293 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.01192, allocations: 378.9 kB / 0.5296 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.01197, allocations: 76.06 kB / 0.5297 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.084e-05/0.01202, allocations: 15.8 kB / 0.5297 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.01211, allocations: 94.19 kB / 0.5298 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of SimCode: time 1.502e-06/0.01211, allocations: 0 / 0.5298 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of Templates: time 0.003758/0.01587, allocations: 1.955 MB / 0.5317 GB, free: 7.262 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: 3.738540487829596]