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.0006739/0.0006739, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008898/0.001564, 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.0006511/0.0006511, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008424/0.001493, 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 0.9757/0.9757, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0943/1.07, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.9063/0.9063, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2805/1.187, allocations: 49.13 MB / 448.6 MB, free: 5.914 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-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.234e-06/2.234e-06, allocations: 0 / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.03e-05, allocations: 8.828 kB / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002426/0.002457, allocations: 0.874 MB / 450.9 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003751, allocations: 0.9507 MB / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.003801, allocations: 1.406 kB / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.003833, allocations: 7.875 kB / 451.9 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.003906, allocations: 24.58 kB / 451.9 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.004061, allocations: 48.84 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.004214, allocations: 111.3 kB / 452 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.0043, allocations: 31.67 kB / 452.1 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.004625, allocations: 95.84 kB / 452.2 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.004713, allocations: 31.91 kB / 452.2 MB, free: 2.434 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.004733, allocations: 8 kB / 452.2 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.004786, allocations: 12.72 kB / 452.2 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.004807, allocations: 11.94 kB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.004839, allocations: 20.75 kB / 452.2 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.004966, allocations: 59.69 kB / 452.3 MB, free: 2.324 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.004975, allocations: 0 / 452.3 MB, free: 2.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004976, allocations: 1.156 kB / 452.3 MB, free: 2.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.004985, allocations: 4 kB / 452.3 MB, free: 2.32 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.0003832/0.005368, allocations: 322.8 kB / 452.6 MB, free: 1.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.005403, allocations: 12.03 kB / 452.6 MB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.005648, allocations: 107.5 kB / 452.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.005833, allocations: 153.5 kB / 452.9 MB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.005848, allocations: 4.375 kB / 452.9 MB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005865, allocations: 8.875 kB / 452.9 MB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.006017, allocations: 95.62 kB / 453 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006024, allocations: 4.125 kB / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006034, allocations: 1.625 kB / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.00604, allocations: 4.375 kB / 453 MB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.006099, allocations: 23.92 kB / 453 MB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.006446, allocations: 347.8 kB / 453.4 MB, free: 1.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.006559, allocations: 75.72 kB / 453.4 MB, free: 1.059 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.006595, allocations: 27.91 kB / 453.5 MB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.006612, allocations: 4 kB / 453.5 MB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.00664, allocations: 42.48 kB / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.006641, allocations: 0.9062 kB / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001908/0.006832, allocations: 75.42 kB / 453.6 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.00688, allocations: 102.8 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.00712, allocations: 154.4 kB / 453.8 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.007146, allocations: 29.7 kB / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.007193, allocations: 106.1 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.007218, allocations: 15.84 kB / 454 MB, free: 460 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.007265, allocations: 34.31 kB / 454 MB, free: 420 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.007367, allocations: 323.4 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.007395, allocations: 11.94 kB / 454.4 MB, free: 76 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.007438, allocations: 39.11 kB / 454.4 MB, free: 28 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.007522, allocations: 40.95 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.007525, allocations: 0.625 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000124/0.007649, allocations: 70.42 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.007662, allocations: 11.94 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.007665, allocations: 1.781 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.007675, allocations: 0 / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.007753, allocations: 19.92 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.007756, allocations: 0 / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.007808, allocations: 11.89 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007814, allocations: 0.6562 kB / 454.5 MB, free: 15.86 MB / 442.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 7.357e-05/0.007888, allocations: 118.8 kB / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.007947, allocations: 12 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.008061, allocations: 67.08 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.008064, allocations: 0.5 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008066, allocations: 2.594 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.008071, allocations: 4 kB / 454.7 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.008302, allocations: 89.92 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.008304, allocations: 1.219 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.008361, allocations: 11.98 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.008376, allocations: 11.91 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008379, allocations: 1.062 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.008388, allocations: 11.92 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.00839, allocations: 0 / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.008392, allocations: 1.156 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.008585, allocations: 314 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.008603, allocations: 1.875 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.008745, allocations: 8 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.008802, allocations: 27.89 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.00881, allocations: 7.922 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.008855, allocations: 33.92 kB / 455.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008855, allocations: 0 / 455.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.009157, allocations: 15.94 kB / 455.3 MB, free: 15.09 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.0001201/0.009277, allocations: 86.05 kB / 455.4 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.00938, allocations: 44.89 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/0.009387, allocations: 4.906 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.58e-05/0.009453, allocations: 39.14 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.00987, allocations: 56.3 kB / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.01023, allocations: 209.6 kB / 455.7 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.23e-05/0.0103, allocations: 68.08 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.01037, allocations: 20.61 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.01046, allocations: 63.38 kB / 455.8 MB, free: 14.45 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01046, allocations: 0 / 455.8 MB, free: 14.45 MB / 442.7 MB Notification: Performance of Templates: time 0.00346/0.01392, allocations: 1.248 MB / 457.1 MB, free: 13.29 MB / 442.7 MB " [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.5642480151727796]