Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001061/0.001061, allocations: 88.2 kB / 20.19 MB, free: 4.363 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.0009629/0.0009629, allocations: 173 kB / 23.49 MB, free: 1.059 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7887/0.7887, allocations: 154.6 MB / 414.9 MB, free: 0.6562 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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5204 GB, free: 2.402 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.268e-05, allocations: 4.562 kB / 0.5204 GB, free: 2.398 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001557/0.001589, allocations: 0.8252 MB / 0.5212 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.002553, allocations: 0.938 MB / 0.5221 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.002603, allocations: 0 / 0.5221 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.002637, allocations: 12.61 kB / 0.5221 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.596e-05/0.002733, allocations: 26.92 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.002965, allocations: 35.95 kB / 0.5222 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003089, allocations: 119.6 kB / 0.5223 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003194, allocations: 17.3 kB / 0.5223 GB, free: 452 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.003383, allocations: 71.81 kB / 0.5224 GB, free: 380 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.003458, allocations: 47.86 kB / 0.5224 GB, free: 332 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.003479, allocations: 8 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.003523, allocations: 12.91 kB / 0.5225 GB, free: 312 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.003545, allocations: 27.91 kB / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.003579, allocations: 32.45 kB / 0.5225 GB, free: 252 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.003732, allocations: 100.4 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003735, allocations: 0 / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003736, allocations: 0 / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.003741, allocations: 1.594 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004894/0.00423, allocations: 456.1 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.00427, allocations: 13 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.004465, allocations: 32.83 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.004732, allocations: 186.1 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.004762, allocations: 8.375 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.004776, allocations: 4.375 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.00497, allocations: 129.1 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004976, allocations: 192 / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004988, allocations: 1.094 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.004996, allocations: 4.125 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.032e-05/0.005056, allocations: 28.45 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.005521, allocations: 0.5569 MB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.005652, allocations: 114.7 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.005696, allocations: 43 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.005722, allocations: 4.781 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.005743, allocations: 37.39 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.005744, allocations: 0.7812 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002298/0.005974, allocations: 96.62 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.00602, allocations: 110.8 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.006125, allocations: 201.9 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.006143, allocations: 29.7 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.006206, allocations: 151.1 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.006238, allocations: 39.73 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.006278, allocations: 31.38 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.0064, allocations: 0.4923 MB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.006436, allocations: 13.52 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.006517, allocations: 147.2 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.006588, allocations: 59.22 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00659, allocations: 2.75 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002869/0.006877, allocations: 93.5 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.006891, allocations: 8 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.006898, allocations: 3.984 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.006911, allocations: 0 / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.006999, allocations: 12 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.007008, allocations: 7.984 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.007052, allocations: 14.08 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.007061, allocations: 4 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.98e-05/0.007141, allocations: 164.5 kB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.007182, allocations: 19.88 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.007287, allocations: 58.97 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.007291, allocations: 7.984 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.007294, allocations: 0.7188 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007297, allocations: 0 / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.007477, allocations: 145.6 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.00748, allocations: 4 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.007528, allocations: 15.92 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.007532, allocations: 9.156 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.007541, allocations: 0 / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007543, allocations: 0 / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007545, allocations: 4.625 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.007768, allocations: 470.8 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.007781, allocations: 19.83 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.007803, allocations: 11.33 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.007889, allocations: 4 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.007952, allocations: 28.02 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.007961, allocations: 11.98 kB / 0.5266 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.008015, allocations: 150.4 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008015, allocations: 0 / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001981/0.008213, allocations: 12 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001066/0.008319, allocations: 106.3 kB / 0.5268 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.008453, allocations: 58.77 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008455, allocations: 0 / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.0085, allocations: 31.7 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.008794, allocations: 19.91 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.009138, allocations: 219.8 kB / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.009184, allocations: 63.34 kB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.871e-05/0.009242, allocations: 20.83 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.009287, allocations: 18 kB / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.009288, allocations: 0 / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.003339/0.01263, allocations: 1.42 MB / 0.5286 GB, free: 9.629 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8943618601188064]