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.0006815/0.0006815, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008533/0.001535, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007045/0.0007045, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009165/0.001621, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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/1, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.101, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.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.802/0.802, allocations: 154.6 MB / 398.5 MB, free: 0.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2845/1.086, allocations: 49.04 MB / 447.6 MB, free: 6.676 MB / 426.7 MB " [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 1.854e-06/1.854e-06, allocations: 0 / 448.9 MB, free: 5.332 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.225e-05, allocations: 3.719 kB / 448.9 MB, free: 5.328 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001567/0.001589, allocations: 0.8676 MB / 449.8 MB, free: 4.504 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.002568, allocations: 0.9543 MB / 450.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.002634, allocations: 2.047 kB / 450.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.002672, allocations: 7.875 kB / 450.8 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.002758, allocations: 27.27 kB / 450.8 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.0029, allocations: 37.45 kB / 450.8 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.003029, allocations: 119.1 kB / 451 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.003127, allocations: 27.59 kB / 451 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.003328, allocations: 95.73 kB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.003404, allocations: 31.89 kB / 451.1 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.003424, allocations: 6.406 kB / 451.1 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.416e-05/0.003488, allocations: 11.94 kB / 451.1 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.003504, allocations: 11.94 kB / 451.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.003529, allocations: 19.94 kB / 451.2 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.003656, allocations: 71.62 kB / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.00367, allocations: 0 / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003671, allocations: 0 / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.00369, allocations: 1.969 kB / 451.2 MB, free: 3.109 MB / 426.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.0005126/0.004202, allocations: 322.1 kB / 451.5 MB, free: 2.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.004241, allocations: 12.02 kB / 451.6 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.004423, allocations: 94.03 kB / 451.6 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.004589, allocations: 155.5 kB / 451.8 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.004606, allocations: 4.375 kB / 451.8 MB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.004618, allocations: 8.375 kB / 451.8 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.004776, allocations: 104.5 kB / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.004785, allocations: 192 / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004796, allocations: 5.734 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.0048, allocations: 1 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.004845, allocations: 32.39 kB / 452 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.00517, allocations: 348.5 kB / 452.3 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.005267, allocations: 71.72 kB / 452.4 MB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.005294, allocations: 30.7 kB / 452.4 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.005314, allocations: 0 / 452.4 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.005336, allocations: 38.56 kB / 452.4 MB, free: 1.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.005337, allocations: 0.9062 kB / 452.4 MB, free: 1.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001596/0.005497, allocations: 84.7 kB / 452.5 MB, free: 1.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.005543, allocations: 106.8 kB / 452.6 MB, free: 1.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.005628, allocations: 138.6 kB / 452.8 MB, free: 1.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.005647, allocations: 37.69 kB / 452.8 MB, free: 1.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.005686, allocations: 98.39 kB / 452.9 MB, free: 1.262 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.00571, allocations: 23.84 kB / 452.9 MB, free: 1.238 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.005744, allocations: 30.59 kB / 452.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.005828, allocations: 326.8 kB / 453.3 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.005846, allocations: 5 kB / 453.3 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.005878, allocations: 34.55 kB / 453.3 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/0.005934, allocations: 47.81 kB / 453.3 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005937, allocations: 0 / 453.3 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.741e-05/0.006024, allocations: 74.44 kB / 453.4 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.006038, allocations: 8.594 kB / 453.4 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.006044, allocations: 0 / 453.4 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.006052, allocations: 5.219 kB / 453.4 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.006128, allocations: 11.98 kB / 453.4 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006134, allocations: 7.984 kB / 453.4 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.006169, allocations: 16.89 kB / 453.5 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.006176, allocations: 4 kB / 453.5 MB, free: 0.6445 MB / 426.7 MB 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.718e-05/0.006263, allocations: 119.5 kB / 453.6 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.006298, allocations: 7.984 kB / 453.6 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.006405, allocations: 63.61 kB / 453.7 MB, free: 448 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.006409, allocations: 4 kB / 453.7 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.006411, allocations: 1.5 kB / 453.7 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.006415, allocations: 0 / 453.7 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.006578, allocations: 81.88 kB / 453.7 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.00658, allocations: 3.938 kB / 453.7 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.006621, allocations: 17.48 kB / 453.8 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.006635, allocations: 11.91 kB / 453.8 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.006638, allocations: 0 / 453.8 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.006647, allocations: 7.938 kB / 453.8 MB, free: 304 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.006649, allocations: 4.688 kB / 453.8 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.006652, allocations: 1.969 kB / 453.8 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.006828, allocations: 307.1 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.006849, allocations: 11.98 kB / 454.1 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.006922, allocations: 0.5625 kB / 454.1 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.006977, allocations: 33.05 kB / 454.1 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.006981, allocations: 4 kB / 454.1 MB, free: 15.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.007012, allocations: 40.27 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007012, allocations: 0.75 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.007187, allocations: 15.94 kB / 454.2 MB, free: 15.88 MB / 442.7 MB 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 9.365e-05/0.00728, allocations: 81.67 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.299e-05/0.007363, allocations: 45.41 kB / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.007369, allocations: 4.562 kB / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.007401, allocations: 29.39 kB / 454.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.007635, allocations: 20.61 kB / 454.4 MB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.007947, allocations: 206.3 kB / 454.6 MB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.007996, allocations: 65.06 kB / 454.6 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.327e-05/0.008049, allocations: 17.02 kB / 454.7 MB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.008115, allocations: 71.31 kB / 454.7 MB, free: 15.29 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008116, allocations: 0 / 454.7 MB, free: 15.29 MB / 442.7 MB Notification: Performance of Templates: time 0.002884/0.011, allocations: 1.233 MB / 456 MB, free: 14.15 MB / 442.7 MB " [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.5579411750659347]