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.001303/0.001303, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001443/0.001443, allocations: 161.5 kB / 22.46 MB, free: 5.375 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.43/1.43, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 0.6187 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.483e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001891/0.001916, allocations: 0.808 MB / 0.6194 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.003302, allocations: 0.9216 MB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.003357, allocations: 4 kB / 0.6203 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.003391, allocations: 7.875 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.003486, allocations: 19.73 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.003726, allocations: 47.88 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.003885, allocations: 115.6 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.004004, allocations: 29.19 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.004222, allocations: 75.86 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.004314, allocations: 47.88 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.004342, allocations: 8 kB / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.004393, allocations: 12 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.004428, allocations: 27.91 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.004474, allocations: 27.91 kB / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.004688, allocations: 131.5 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004691, allocations: 0 / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004692, allocations: 4 kB / 0.6209 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004696, allocations: 0 / 0.6209 GB, free: 2.199 MB / 0.5294 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.0007129/0.005409, allocations: 377.6 kB / 0.6212 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.005444, allocations: 8.031 kB / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.005701, allocations: 32.83 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.006204, allocations: 189.7 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.006226, allocations: 8.375 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.006245, allocations: 8.375 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.006537, allocations: 124.7 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.006547, allocations: 192 / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.006559, allocations: 384 / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.006567, allocations: 8.125 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.006867, allocations: 71.94 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.007466, allocations: 432.8 kB / 0.6221 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.007739, allocations: 107.8 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.00791, allocations: 54.55 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.007938, allocations: 7.984 kB / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.00797, allocations: 42.5 kB / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.007972, allocations: 0 / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0006099/0.008581, allocations: 153.5 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.00866, allocations: 106.8 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.008811, allocations: 146.6 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.008839, allocations: 33.7 kB / 0.6227 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.008915, allocations: 108.3 kB / 0.6228 GB, free: 12 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.008977, allocations: 31.91 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.009031, allocations: 21.72 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.009178, allocations: 326.8 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.009348, allocations: 47.89 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.00958, allocations: 154.2 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.009874, allocations: 94.52 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.009876, allocations: 0 / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003871/0.01026, allocations: 141.2 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01028, allocations: 8 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.01028, allocations: 3.938 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.0103, allocations: 4.328 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.01044, allocations: 23.97 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01044, allocations: 4 kB / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01058, allocations: 19.98 kB / 0.6236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.01059, allocations: 4 kB / 0.6237 GB, free: 15.08 MB / 0.545 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.0001169/0.0107, allocations: 127.7 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.01078, allocations: 19.83 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.01105, allocations: 93.92 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01105, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01105, allocations: 0 / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01106, allocations: 4 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.01132, allocations: 133.4 kB / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01133, allocations: 0 / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.01144, allocations: 23.92 kB / 0.624 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01145, allocations: 7.984 kB / 0.624 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01146, allocations: 0 / 0.624 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.01146, allocations: 8 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01146, allocations: 0 / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.01193, allocations: 366 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.01196, allocations: 27.77 kB / 0.6244 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.01199, allocations: 0 / 0.6244 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.0122, allocations: 11.98 kB / 0.6244 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.01227, allocations: 27.95 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.01228, allocations: 8 kB / 0.6245 GB, free: 14.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.785e-05/0.01237, allocations: 110.5 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01237, allocations: 0 / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003252/0.01269, allocations: 16 kB / 0.6246 GB, free: 14.05 MB / 0.545 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.0001278/0.01282, allocations: 111.1 kB / 0.6247 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.01321, allocations: 99.86 kB / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01321, allocations: 0 / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.01338, allocations: 43.97 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.01383, allocations: 11.94 kB / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.01426, allocations: 207.3 kB / 0.625 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.01436, allocations: 92.42 kB / 0.6251 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.147e-05/0.01443, allocations: 16.64 kB / 0.6251 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.0145, allocations: 16.5 kB / 0.6252 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.0145, allocations: 0 / 0.6252 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Templates: time 0.004281/0.01878, allocations: 1.405 MB / 0.6265 GB, free: 12.03 MB / 0.545 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: 5.7019946947693825] Failed to read output from testmodel.py, exit status != 0: 0.027275830507278442 0.041620205 0.033999881 Calling exit ...