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.0008689/0.0008689, 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.0009641/0.0009641, 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.8673/0.8673, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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-531:686: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-531:694: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.6835/0.6835, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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. " [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.633e-06/1.633e-06, allocations: 0 / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.774e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001169/0.001187, allocations: 0.8119 MB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.002224, allocations: 0.921 MB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.002275, allocations: 0 / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.002305, allocations: 7.875 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.002384, allocations: 27.73 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.002584, allocations: 47.88 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.002687, allocations: 115.6 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.002785, allocations: 25.23 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.002936, allocations: 67.86 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.002999, allocations: 47.88 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.003017, allocations: 8 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/0.003055, allocations: 12 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.003072, allocations: 31.91 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.003102, allocations: 35.84 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.003254, allocations: 131.5 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003257, allocations: 3.938 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003257, allocations: 0 / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.003261, allocations: 0 / 0.6216 GB, free: 10.8 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.0004313/0.003692, allocations: 365.8 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.003723, allocations: 16.03 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.00386, allocations: 28.83 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.004125, allocations: 197.6 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.004142, allocations: 384 / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.004155, allocations: 12.38 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.004333, allocations: 120.7 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.004343, allocations: 4.172 kB / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.004354, allocations: 4.375 kB / 0.6223 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.00436, allocations: 4.125 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.004504, allocations: 75.88 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.004865, allocations: 424.8 kB / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.005009, allocations: 111.8 kB / 0.6229 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.005086, allocations: 58.48 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.005108, allocations: 3.984 kB / 0.623 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.005128, allocations: 38.5 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.005128, allocations: 0 / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003301/0.005459, allocations: 161.5 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.005498, allocations: 106.8 kB / 0.6233 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.005579, allocations: 149.6 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.005593, allocations: 29.7 kB / 0.6235 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.005639, allocations: 108.3 kB / 0.6236 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.005665, allocations: 32.09 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.005699, allocations: 25.72 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.005776, allocations: 322.8 kB / 0.6239 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.005856, allocations: 43.95 kB / 0.624 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.005965, allocations: 158.2 kB / 0.6241 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.006107, allocations: 94.69 kB / 0.6242 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006109, allocations: 4 kB / 0.6242 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001848/0.006294, allocations: 145.5 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.006304, allocations: 4 kB / 0.6244 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006309, allocations: 4 kB / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.006322, allocations: 4 kB / 0.6244 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.006395, allocations: 23.97 kB / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.006399, allocations: 4 kB / 0.6244 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.00646, allocations: 19.92 kB / 0.6244 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.006466, allocations: 0 / 0.6244 GB, free: 7.68 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 6.51e-05/0.006531, allocations: 130.8 kB / 0.6245 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.006563, allocations: 15.84 kB / 0.6245 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.006694, allocations: 89.92 kB / 0.6246 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006697, allocations: 4 kB / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0067, allocations: 4 kB / 0.6246 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006703, allocations: 0 / 0.6246 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.006854, allocations: 129.3 kB / 0.6248 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.006855, allocations: 7.938 kB / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.006896, allocations: 19.98 kB / 0.6248 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006899, allocations: 3.938 kB / 0.6248 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.006907, allocations: 11.92 kB / 0.6248 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.006908, allocations: 0 / 0.6248 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006909, allocations: 0 / 0.6248 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.007135, allocations: 366 kB / 0.6252 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.007147, allocations: 19.84 kB / 0.6252 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.007163, allocations: 7.984 kB / 0.6252 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/0.007263, allocations: 11.98 kB / 0.6252 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.007312, allocations: 23.95 kB / 0.6252 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.007316, allocations: 0 / 0.6252 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.007363, allocations: 122.6 kB / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007363, allocations: 4 kB / 0.6253 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001944/0.007557, allocations: 12 kB / 0.6253 GB, free: 6.656 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 7.409e-05/0.007631, allocations: 103.2 kB / 0.6254 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.007826, allocations: 99.84 kB / 0.6255 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.007827, allocations: 0 / 0.6255 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.007907, allocations: 51.91 kB / 0.6256 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.008187, allocations: 18.28 kB / 0.6256 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.008471, allocations: 225.3 kB / 0.6258 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.008768, allocations: 88.27 kB / 0.6259 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.008807, allocations: 16.5 kB / 0.6259 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of SimCode: time 3.01e-07/0.008808, allocations: 4.125 kB / 0.6259 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of Templates: time 0.001892/0.0107, allocations: 1.563 MB / 0.6275 GB, free: 4.434 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.866861708462238] Failed to read output from testmodel.py, exit status != 0: 0.0151360547170043 0.023024225000000002 0.018136887 Calling exit ...