Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009689/0.0009689, allocations: 73.88 kB / 20.65 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.001052/0.001052, allocations: 169 kB / 24.06 MB, free: 452 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.9409/0.9409, allocations: 177.1 MB / 204.5 MB, free: 5.512 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8225/0.8225, allocations: 154.9 MB / 415.9 MB, free: 256 kB / 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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.522 GB, free: 1.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.529e-05, allocations: 2.312 kB / 0.522 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00155/0.001575, allocations: 0.8294 MB / 0.5228 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.002546, allocations: 0.938 MB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.002607, allocations: 0 / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.002644, allocations: 7.875 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.002755, allocations: 29.05 kB / 0.5237 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.002983, allocations: 35.95 kB / 0.5238 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.003105, allocations: 119.6 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.003203, allocations: 17.83 kB / 0.5239 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.003394, allocations: 88.48 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.003459, allocations: 31.89 kB / 0.524 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.003475, allocations: 9.406 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.003513, allocations: 12 kB / 0.524 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.003531, allocations: 19.91 kB / 0.524 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.003556, allocations: 27.92 kB / 0.5241 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.003672, allocations: 72.95 kB / 0.5241 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.003675, allocations: 0 / 0.5241 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003676, allocations: 0 / 0.5241 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.00368, allocations: 3.531 kB / 0.5241 GB, free: 15.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000403/0.004083, allocations: 428.1 kB / 0.5245 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.004124, allocations: 12.03 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.004287, allocations: 28.83 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.004477, allocations: 159.6 kB / 0.5247 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.0045, allocations: 8.375 kB / 0.5247 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.004512, allocations: 4.375 kB / 0.5248 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.004687, allocations: 113.1 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.004697, allocations: 0.75 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004708, allocations: 4.375 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.004715, allocations: 0.9375 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.004771, allocations: 32.75 kB / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.005217, allocations: 0.5308 MB / 0.5254 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.005334, allocations: 105.3 kB / 0.5255 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.005366, allocations: 35.78 kB / 0.5255 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.005384, allocations: 4 kB / 0.5256 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.00541, allocations: 46.22 kB / 0.5256 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.005411, allocations: 4 kB / 0.5256 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001856/0.005597, allocations: 87.11 kB / 0.5257 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.005637, allocations: 102.8 kB / 0.5258 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.005766, allocations: 202.5 kB / 0.526 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.005787, allocations: 29.7 kB / 0.526 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.005845, allocations: 151.9 kB / 0.5261 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.005873, allocations: 27.77 kB / 0.5262 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.005913, allocations: 31.38 kB / 0.5262 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.00603, allocations: 0.4975 MB / 0.5267 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.006058, allocations: 11.98 kB / 0.5267 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.006092, allocations: 39.05 kB / 0.5267 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.006147, allocations: 51.94 kB / 0.5268 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006149, allocations: 2.281 kB / 0.5268 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001091/0.006259, allocations: 93.52 kB / 0.5269 GB, free: 12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.006272, allocations: 7.938 kB / 0.5269 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.006279, allocations: 4 kB / 0.5269 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.006288, allocations: 0 / 0.5269 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.006361, allocations: 18.67 kB / 0.5269 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.006364, allocations: 0 / 0.5269 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.006402, allocations: 8 kB / 0.5269 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.006409, allocations: 4 kB / 0.5269 GB, free: 11.96 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 8.424e-05/0.006494, allocations: 164.5 kB / 0.5271 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.00654, allocations: 15.84 kB / 0.5271 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.006659, allocations: 71.27 kB / 0.5272 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.006662, allocations: 0 / 0.5272 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.006665, allocations: 0 / 0.5272 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006669, allocations: 3.984 kB / 0.5272 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.006837, allocations: 122.2 kB / 0.5273 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.006839, allocations: 0 / 0.5273 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.006881, allocations: 12.94 kB / 0.5273 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.006884, allocations: 3.984 kB / 0.5273 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.00689, allocations: 4 kB / 0.5273 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.006892, allocations: 4.625 kB / 0.5273 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006894, allocations: 0 / 0.5273 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.007093, allocations: 467.9 kB / 0.5278 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.007105, allocations: 7.953 kB / 0.5278 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.007123, allocations: 4 kB / 0.5278 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.007205, allocations: 8.594 kB / 0.5278 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.007255, allocations: 23.95 kB / 0.5278 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.007262, allocations: 8.953 kB / 0.5278 GB, free: 11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.007308, allocations: 150.6 kB / 0.5279 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.007308, allocations: 2.594 kB / 0.5279 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001897/0.007498, allocations: 16 kB / 0.528 GB, free: 10.84 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.0001096/0.007607, allocations: 95.31 kB / 0.5281 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.841e-05/0.007706, allocations: 51.59 kB / 0.5281 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.007708, allocations: 7.125 kB / 0.5281 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.00774, allocations: 23.95 kB / 0.5281 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.008014, allocations: 19.38 kB / 0.5282 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.008296, allocations: 225.8 kB / 0.5284 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.008339, allocations: 63.34 kB / 0.5284 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.044e-05/0.00839, allocations: 21.91 kB / 0.5284 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.008458, allocations: 86.2 kB / 0.5285 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.008459, allocations: 0.6562 kB / 0.5285 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002924/0.01138, allocations: 1.265 MB / 0.5298 GB, free: 8.988 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.877272596117109]