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.0007463/0.0007463, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001847, allocations: 440 kB / 10.41 MB, free: 284 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.000752/0.000752, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001826, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.062/1.062, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09482/1.157, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7679/0.7679, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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.2582/1.026, allocations: 49.05 MB / 447.8 MB, free: 6.594 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.753e-06/1.753e-06, allocations: 0 / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.092e-05, allocations: 2.812 kB / 449.2 MB, free: 5.215 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002168/0.002189, allocations: 0.8802 MB / 450.1 MB, free: 4.383 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003336, allocations: 0.9457 MB / 451 MB, free: 3.422 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.003386, allocations: 5.531 kB / 451.1 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.003422, allocations: 7.875 kB / 451.1 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.0035, allocations: 23.98 kB / 451.1 MB, free: 3.395 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.003647, allocations: 41.34 kB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.003813, allocations: 115.9 kB / 451.2 MB, free: 3.262 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003918, allocations: 23.8 kB / 451.3 MB, free: 3.242 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.004154, allocations: 96.61 kB / 451.4 MB, free: 3.148 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.004246, allocations: 31.91 kB / 451.4 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.004267, allocations: 8 kB / 451.4 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.004332, allocations: 16.75 kB / 451.4 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.004355, allocations: 11.94 kB / 451.4 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.004386, allocations: 19.94 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.004535, allocations: 60.97 kB / 451.5 MB, free: 3.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.004549, allocations: 0 / 451.5 MB, free: 3.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.00455, allocations: 0 / 451.5 MB, free: 3.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.004566, allocations: 0.6875 kB / 451.5 MB, free: 3.004 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.0005154/0.005081, allocations: 327.2 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005118, allocations: 12.03 kB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.005348, allocations: 102 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.005547, allocations: 150.5 kB / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.005566, allocations: 8.312 kB / 452.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.005585, allocations: 9 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.005763, allocations: 102 kB / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.005771, allocations: 192 / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.00578, allocations: 384 / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.005788, allocations: 4.375 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.005838, allocations: 29.34 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.006209, allocations: 344.5 kB / 452.6 MB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.006326, allocations: 77.47 kB / 452.6 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.006362, allocations: 31.67 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.006384, allocations: 4 kB / 452.7 MB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.006412, allocations: 34.56 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.006413, allocations: 0.625 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002175/0.006631, allocations: 79.7 kB / 452.8 MB, free: 1.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.006686, allocations: 110.8 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.006795, allocations: 150.6 kB / 453 MB, free: 1.281 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.006817, allocations: 25.7 kB / 453.1 MB, free: 1.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.006869, allocations: 105.5 kB / 453.2 MB, free: 1.145 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.006899, allocations: 19.84 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.006945, allocations: 25.7 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000364/0.007309, allocations: 327.7 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.007341, allocations: 12 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.007377, allocations: 34.41 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.713e-05/0.007444, allocations: 42.48 kB / 453.6 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007447, allocations: 0.75 kB / 453.6 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001324/0.007579, allocations: 74.09 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.007599, allocations: 11.94 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.007605, allocations: 4.625 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.007622, allocations: 0.625 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.007716, allocations: 15.98 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.007721, allocations: 4.547 kB / 453.7 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.007778, allocations: 12.52 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.007787, allocations: 0 / 453.7 MB, free: 0.5391 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 9.453e-05/0.007882, allocations: 118.4 kB / 453.9 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.007947, allocations: 12.98 kB / 453.9 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.008109, allocations: 65.95 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.008113, allocations: 3.266 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.008116, allocations: 0 / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.008123, allocations: 4 kB / 453.9 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.00839, allocations: 89.86 kB / 454 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.008394, allocations: 0.9062 kB / 454 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.008466, allocations: 15.92 kB / 454 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.008482, allocations: 11.91 kB / 454.1 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.008486, allocations: 1 kB / 454.1 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.008498, allocations: 7.938 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.008501, allocations: 1.312 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008502, allocations: 0 / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.008757, allocations: 306 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.008782, allocations: 8.641 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.008929, allocations: 9.219 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.009009, allocations: 23.89 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.009015, allocations: 4 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.139e-05/0.009057, allocations: 36.06 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009057, allocations: 1.062 kB / 454.5 MB, free: 15.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.009337, allocations: 19.94 kB / 454.5 MB, free: 15.76 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 0.0001497/0.009487, allocations: 81.58 kB / 454.5 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.009612, allocations: 50.17 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.009619, allocations: 5.484 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.009669, allocations: 24.86 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.01007, allocations: 59.48 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.01042, allocations: 209.3 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.01048, allocations: 63.91 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.968e-05/0.01054, allocations: 18.86 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.01063, allocations: 72.2 kB / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01063, allocations: 0 / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of Templates: time 0.003042/0.01367, allocations: 1.242 MB / 456.3 MB, free: 13.97 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.5142547925934196]