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.001679/0.001679, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002448/0.002448, allocations: 217.1 kB / 22.25 MB, free: 4.855 MB / 14.72 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.71/1.71, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.318/1.318, allocations: 203.5 MB / 0.5038 GB, free: 4.91 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 71.89 kB / 0.7183 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.6977, allocations: 102 MB / 0.8179 GB, free: 29.13 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.003389/0.7011, allocations: 0.8082 MB / 0.8187 GB, free: 28.65 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.7027, allocations: 0.9178 MB / 0.8196 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.7028, allocations: 1.25 kB / 0.8196 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.832e-05/0.7028, allocations: 14.11 kB / 0.8196 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.7029, allocations: 15.48 kB / 0.8196 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.7032, allocations: 49.02 kB / 0.8197 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.7034, allocations: 115.9 kB / 0.8198 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.7036, allocations: 23.47 kB / 0.8198 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.7038, allocations: 55.34 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.704, allocations: 55.48 kB / 0.8199 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.704, allocations: 9.156 kB / 0.8199 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.7041, allocations: 14.28 kB / 0.8199 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.7041, allocations: 25.03 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.646e-05/0.7042, allocations: 40.42 kB / 0.82 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.7045, allocations: 124.8 kB / 0.8201 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.7045, allocations: 1.031 kB / 0.8201 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.477e-06/0.7045, allocations: 0 / 0.8201 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.7045, allocations: 1.344 kB / 0.8201 GB, free: 27.71 MB / 0.6387 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.001057/0.7056, allocations: 372.4 kB / 0.8205 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.754e-05/0.7057, allocations: 10.47 kB / 0.8205 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.7061, allocations: 33.94 kB / 0.8205 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.7066, allocations: 199.5 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.7067, allocations: 4.344 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.7067, allocations: 10.03 kB / 0.8207 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.7071, allocations: 117.8 kB / 0.8208 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.7071, allocations: 4.75 kB / 0.8208 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.7071, allocations: 2.719 kB / 0.8208 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.7071, allocations: 2 kB / 0.8208 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.7075, allocations: 77.59 kB / 0.8209 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.7082, allocations: 437.9 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.7085, allocations: 112.7 kB / 0.8214 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.7087, allocations: 49.16 kB / 0.8215 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.7088, allocations: 9.172 kB / 0.8215 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.7088, allocations: 37.83 kB / 0.8215 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.7088, allocations: 0 / 0.8215 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0007328/0.7095, allocations: 161.9 kB / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.7096, allocations: 109.4 kB / 0.8218 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.7098, allocations: 154 kB / 0.8219 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.7098, allocations: 32.98 kB / 0.822 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.7099, allocations: 104.8 kB / 0.8221 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.7099, allocations: 30.38 kB / 0.8221 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.71, allocations: 28.48 kB / 0.8221 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7101, allocations: 330.3 kB / 0.8224 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.7103, allocations: 42.12 kB / 0.8225 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.7106, allocations: 158.8 kB / 0.8226 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.7109, allocations: 94.78 kB / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7109, allocations: 1.375 kB / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003753/0.7113, allocations: 140.6 kB / 0.8228 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.7113, allocations: 5 kB / 0.8228 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7113, allocations: 1.156 kB / 0.8228 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.7113, allocations: 2.234 kB / 0.8228 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.7115, allocations: 22.81 kB / 0.8229 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7115, allocations: 5.344 kB / 0.8229 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.7116, allocations: 14.34 kB / 0.8229 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.7117, allocations: 7.609 kB / 0.8229 GB, free: 25.48 MB / 0.6387 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 0.0001062/0.7118, allocations: 130.1 kB / 0.823 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.7118, allocations: 13.95 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.7121, allocations: 92.27 kB / 0.8231 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7121, allocations: 6 kB / 0.8231 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.7121, allocations: 1.688 kB / 0.8231 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.7121, allocations: 1.141 kB / 0.8231 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.7124, allocations: 136.4 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7124, allocations: 1 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.7125, allocations: 17.7 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7125, allocations: 2.25 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.7125, allocations: 6.969 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7125, allocations: 1.188 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7126, allocations: 5.953 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.713, allocations: 374.3 kB / 0.8237 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.713, allocations: 16.7 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.713, allocations: 7.297 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.7132, allocations: 12.22 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7133, allocations: 24.81 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.7134, allocations: 7.375 kB / 0.8237 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.717e-05/0.7134, allocations: 112.8 kB / 0.8238 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7134, allocations: 1.156 kB / 0.8238 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003483/0.7138, allocations: 14.09 kB / 0.8238 GB, free: 24.72 MB / 0.6387 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 0.0001426/0.7139, allocations: 99.41 kB / 0.8239 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.7144, allocations: 102.8 kB / 0.824 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7144, allocations: 5.406 kB / 0.824 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.7145, allocations: 46.45 kB / 0.8241 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.7151, allocations: 16.69 kB / 0.8241 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.7155, allocations: 204.2 kB / 0.8243 GB, free: 24.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.7157, allocations: 96.05 kB / 0.8244 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.988e-05/0.7157, allocations: 19.94 kB / 0.8244 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.7158, allocations: 19.52 kB / 0.8244 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of SimCode: time 7.42e-07/0.7158, allocations: 0 / 0.8244 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.005716/0.7215, allocations: 1.479 MB / 0.8259 GB, free: 24.16 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.166926212608814] Failed to read output from testmodel.py, exit status != 0: 0.7317826543003321 0.747101115 0.03957577 Calling exit ...