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.001285/0.001285, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001517/0.001517, allocations: 177 kB / 23.36 MB, free: 1.133 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.083/1.083, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8559/0.8559, allocations: 154.9 MB / 415.1 MB, free: 216 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.535e-06/2.535e-06, allocations: 0 / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.757e-05, allocations: 2.312 kB / 480.5 MB, free: 6.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002203/0.00223, allocations: 0.8665 MB / 481.3 MB, free: 5.594 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003533, allocations: 0.9453 MB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.003595, allocations: 4 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.003636, allocations: 11.86 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.003772, allocations: 33.06 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.004065, allocations: 36.59 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.004268, allocations: 116.1 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004402, allocations: 27.42 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.004673, allocations: 89.12 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.004763, allocations: 31.89 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.004783, allocations: 4 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.004845, allocations: 9.062 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.00487, allocations: 23.91 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.004899, allocations: 15.94 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.005053, allocations: 88.31 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.005056, allocations: 0 / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005057, allocations: 0.8438 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.005061, allocations: 0 / 482.8 MB, free: 4.184 MB / 442.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.0004048/0.005466, allocations: 304.1 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.005504, allocations: 9.469 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.005688, allocations: 24.91 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.005881, allocations: 153.5 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.005902, allocations: 13.09 kB / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.005916, allocations: 12.31 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.006092, allocations: 98.92 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.006101, allocations: 192 / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.006111, allocations: 4.375 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.006119, allocations: 4.375 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.006172, allocations: 24.7 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.006545, allocations: 349.2 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.006652, allocations: 72.62 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.006692, allocations: 35.22 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.00671, allocations: 1 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.006735, allocations: 34.56 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.006737, allocations: 3.938 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002043/0.006941, allocations: 75.27 kB / 484 MB, free: 2.863 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.006998, allocations: 110.8 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.007096, allocations: 147.2 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.007124, allocations: 34.33 kB / 484.2 MB, free: 2.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.007168, allocations: 92.11 kB / 484.3 MB, free: 2.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.007201, allocations: 28.41 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.007243, allocations: 25.7 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.007341, allocations: 327.4 kB / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.007369, allocations: 12.58 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.007409, allocations: 30.56 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.615e-05/0.007485, allocations: 46.47 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.007487, allocations: 1.312 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001132/0.0076, allocations: 70.27 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007615, allocations: 8.562 kB / 484.9 MB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.007622, allocations: 7.984 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.007635, allocations: 0.9062 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.007712, allocations: 8 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007717, allocations: 6.031 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.00777, allocations: 18.12 kB / 484.9 MB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.00778, allocations: 4 kB / 484.9 MB, free: 1.832 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 8.167e-05/0.007862, allocations: 117.8 kB / 485 MB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.00792, allocations: 4.594 kB / 485 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.008033, allocations: 61.95 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.008037, allocations: 5.75 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.00804, allocations: 0 / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.008043, allocations: 0 / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.008277, allocations: 85.86 kB / 485.2 MB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008279, allocations: 1.75 kB / 485.2 MB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.00834, allocations: 23.94 kB / 485.2 MB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.008343, allocations: 4 kB / 485.2 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.008353, allocations: 3.984 kB / 485.2 MB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.008355, allocations: 0 / 485.2 MB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.008359, allocations: 9.062 kB / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.00854, allocations: 302.1 kB / 485.5 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.008556, allocations: 16.62 kB / 485.5 MB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.008578, allocations: 4 kB / 485.5 MB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.008723, allocations: 4.75 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.008791, allocations: 27.89 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.0088, allocations: 9.984 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.21e-05/0.008842, allocations: 33.09 kB / 485.6 MB, free: 1.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008842, allocations: 0 / 485.6 MB, free: 1.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.009168, allocations: 16 kB / 485.6 MB, free: 1.07 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.0001224/0.00929, allocations: 85.59 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.009408, allocations: 53.34 kB / 485.8 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.009412, allocations: 0.7812 kB / 485.8 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.00946, allocations: 29.34 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.009843, allocations: 12.72 kB / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.01048, allocations: 196.7 kB / 486 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.627e-05/0.01053, allocations: 67.33 kB / 486.1 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.413e-05/0.01061, allocations: 17.28 kB / 486.1 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.01069, allocations: 71.36 kB / 486.1 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01069, allocations: 0.5312 kB / 486.1 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of Templates: time 0.003688/0.01438, allocations: 1.211 MB / 487.4 MB, free: 15.37 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7073772540315986]