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.0008429/0.0008429, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001003/0.001003, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8211/0.8211, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:190: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-531:198: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.6833/0.6833, allocations: 154.5 MB / 414.5 MB, free: 0.8203 MB / 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 1.974e-06/1.974e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.27e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001288/0.001311, allocations: 0.8103 MB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.002068, allocations: 0.9172 MB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.002102, allocations: 0 / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.002128, allocations: 11.81 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.002192, allocations: 23.78 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.002345, allocations: 43.83 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.002436, allocations: 119.6 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.002529, allocations: 13.31 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.00266, allocations: 83.8 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.002709, allocations: 39.88 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.002725, allocations: 12 kB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.248e-05/0.002758, allocations: 16 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.002775, allocations: 23.89 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.002801, allocations: 31.92 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.002925, allocations: 131.5 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.092e-06/0.002926, allocations: 0 / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002926, allocations: 0 / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.002929, allocations: 0 / 0.6216 GB, free: 10.88 MB / 0.5886 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.0004331/0.003362, allocations: 373.8 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.003389, allocations: 9.469 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.003523, allocations: 36.81 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.00377, allocations: 196.8 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.003787, allocations: 8.375 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.0038, allocations: 8.375 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.00395, allocations: 124.7 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003957, allocations: 192 / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.003966, allocations: 384 / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.00397, allocations: 4.125 kB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.004105, allocations: 83.86 kB / 0.6224 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.004484, allocations: 424.8 kB / 0.6228 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.004612, allocations: 111.7 kB / 0.6229 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.004686, allocations: 62.47 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.004704, allocations: 8 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.004719, allocations: 30.56 kB / 0.623 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.00472, allocations: 0 / 0.623 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002954/0.005016, allocations: 157.5 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.005052, allocations: 110.7 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.005124, allocations: 146.5 kB / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.005139, allocations: 33.7 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.005184, allocations: 108.3 kB / 0.6235 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.005206, allocations: 19.84 kB / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.005242, allocations: 33.7 kB / 0.6236 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.005312, allocations: 318.8 kB / 0.6239 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.005387, allocations: 39.97 kB / 0.6239 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.005491, allocations: 161 kB / 0.6241 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.005622, allocations: 98.67 kB / 0.6241 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005623, allocations: 0 / 0.6241 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000287/0.00591, allocations: 145.4 kB / 0.6243 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.005919, allocations: 4 kB / 0.6243 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.005923, allocations: 3.984 kB / 0.6243 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.005933, allocations: 11.94 kB / 0.6243 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.005996, allocations: 16.05 kB / 0.6243 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.006, allocations: 4 kB / 0.6243 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.006056, allocations: 23.92 kB / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.006063, allocations: 4 kB / 0.6244 GB, free: 7.746 MB / 0.5886 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 5.783e-05/0.006121, allocations: 122.8 kB / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.006153, allocations: 23.84 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.006277, allocations: 85.98 kB / 0.6246 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.006281, allocations: 4 kB / 0.6246 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.006284, allocations: 0 / 0.6246 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006286, allocations: 0 / 0.6246 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.006437, allocations: 133.3 kB / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006438, allocations: 0 / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.006479, allocations: 23.91 kB / 0.6247 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.006481, allocations: 3.938 kB / 0.6247 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.00649, allocations: 8 kB / 0.6247 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00649, allocations: 4 kB / 0.6247 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006491, allocations: 0 / 0.6247 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.006695, allocations: 366 kB / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.006706, allocations: 19.81 kB / 0.6251 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.006721, allocations: 8 kB / 0.6251 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.006817, allocations: 11.98 kB / 0.6251 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.006866, allocations: 35.83 kB / 0.6252 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.00687, allocations: 3.984 kB / 0.6252 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.006913, allocations: 114.7 kB / 0.6253 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006913, allocations: 0 / 0.6253 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001858/0.007099, allocations: 16 kB / 0.6253 GB, free: 6.719 MB / 0.5886 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 6.789e-05/0.007167, allocations: 106.6 kB / 0.6254 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.007356, allocations: 95.86 kB / 0.6255 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.007357, allocations: 0 / 0.6255 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.007434, allocations: 48.23 kB / 0.6255 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.007687, allocations: 15.94 kB / 0.6255 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.007939, allocations: 233.2 kB / 0.6258 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.339e-05/0.007993, allocations: 88.44 kB / 0.6259 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.00803, allocations: 16.5 kB / 0.6259 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of SimCode: time 2.9e-07/0.00803, allocations: 3.938 kB / 0.6259 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of Templates: time 0.001747/0.009777, allocations: 1.565 MB / 0.6274 GB, free: 4.492 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.746328002773225] Failed to read output from testmodel.py, exit status != 0: 0.014056715182960033 0.022950437 0.018537500000000002 Calling exit ...