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.0009788/0.0009788, allocations: 93.06 kB / 19.65 MB, free: 280 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.001926/0.001926, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9675/0.9675, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7822/0.7822, allocations: 154.6 MB / 414.5 MB, free: 0.6445 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 1.663e-06/1.663e-06, allocations: 0 / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.106e-05, allocations: 5.156 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002035/0.002056, allocations: 1.023 MB / 0.5214 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003303, allocations: 1.047 MB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003405, allocations: 3.938 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003517, allocations: 23.73 kB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.003578, allocations: 17.41 kB / 0.5225 GB, free: 40 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.003859, allocations: 83.77 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.00404, allocations: 172.1 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.004181, allocations: 60.84 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.004312, allocations: 103.8 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.004395, allocations: 65.17 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.00442, allocations: 16 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.00446, allocations: 20 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.004495, allocations: 43.83 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.004536, allocations: 49.23 kB / 0.5231 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.004686, allocations: 131.4 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004687, allocations: 0 / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004688, allocations: 1.188 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.004691, allocations: 0 / 0.5232 GB, free: 15.31 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.0004979/0.005189, allocations: 0.51 MB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.00522, allocations: 8.031 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.005317, allocations: 32.84 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.005493, allocations: 172.8 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.005512, allocations: 12.38 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.005542, allocations: 24.75 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.005733, allocations: 161.6 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005741, allocations: 192 / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.005756, allocations: 13.09 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.005765, allocations: 4 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.279e-05/0.005848, allocations: 52.55 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.0064, allocations: 481.6 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.006614, allocations: 103.2 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.006675, allocations: 53.11 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.006698, allocations: 0 / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.006807, allocations: 122.7 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.006808, allocations: 1.156 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.000226/0.007034, allocations: 164.1 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.007056, allocations: 55.41 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.007148, allocations: 200.6 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.007167, allocations: 29.7 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.007224, allocations: 164.5 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.007262, allocations: 75.38 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.007308, allocations: 43.36 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.007419, allocations: 0.4935 MB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.007492, allocations: 31.98 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.007563, allocations: 62.59 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.007674, allocations: 97.58 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007675, allocations: 0 / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001694/0.007845, allocations: 161.4 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.007854, allocations: 4 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.007858, allocations: 0 / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.007873, allocations: 4 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.007968, allocations: 35.98 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.007973, allocations: 6.766 kB / 0.5264 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.008022, allocations: 19.88 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.008031, allocations: 8 kB / 0.5265 GB, free: 11.73 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.114e-05/0.008102, allocations: 168.5 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.00812, allocations: 15.95 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.008294, allocations: 144 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008296, allocations: 0 / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.0083, allocations: 4 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.008303, allocations: 0 / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.008735, allocations: 0.535 MB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.008737, allocations: 3.938 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.008824, allocations: 34.42 kB / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008826, allocations: 0 / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.008839, allocations: 8 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.008842, allocations: 4 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.008845, allocations: 7.875 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.009094, allocations: 364.1 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.009108, allocations: 19.84 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.009127, allocations: 11.98 kB / 0.5277 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.009188, allocations: 11.94 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.009241, allocations: 27.89 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.009252, allocations: 8 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.009303, allocations: 143.2 kB / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009303, allocations: 0 / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001743/0.009477, allocations: 36.94 kB / 0.5279 GB, free: 10.09 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 8.586e-05/0.009563, allocations: 118.1 kB / 0.5281 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.009726, allocations: 104 kB / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009727, allocations: 0 / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.009795, allocations: 63.53 kB / 0.5282 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01001, allocations: 33.48 kB / 0.5283 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.0106, allocations: 376 kB / 0.5286 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.01064, allocations: 72.73 kB / 0.5287 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.192e-05/0.01068, allocations: 19.58 kB / 0.5287 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.01073, allocations: 20.48 kB / 0.5287 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.01073, allocations: 0 / 0.5287 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of Templates: time 0.003454/0.01418, allocations: 1.748 MB / 0.5304 GB, free: 7.582 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: 4.078759570140392]