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.0008857/0.0008857, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.001028/0.001028, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.932/0.932, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7798/0.7798, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [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: 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.001309/0.001309, allocations: 70.62 kB / 0.7191 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5171, allocations: 102 MB / 0.8186 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00158/0.5186, allocations: 0.811 MB / 0.8194 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.5195, allocations: 0.9135 MB / 0.8203 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.5195, allocations: 5.625 kB / 0.8203 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.5196, allocations: 9.375 kB / 0.8203 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.5197, allocations: 18.7 kB / 0.8204 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.5199, allocations: 51.72 kB / 0.8204 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.52, allocations: 114.7 kB / 0.8205 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.5202, allocations: 23.69 kB / 0.8205 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.5203, allocations: 59.39 kB / 0.8206 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.5204, allocations: 50.64 kB / 0.8206 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.5204, allocations: 10.22 kB / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.602e-05/0.5205, allocations: 11.81 kB / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.5205, allocations: 27.94 kB / 0.8207 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.5205, allocations: 40.92 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.5207, allocations: 127.6 kB / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5207, allocations: 0 / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5207, allocations: 0 / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5207, allocations: 4 kB / 0.8209 GB, free: 68 kB / 0.6042 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.0005537/0.5213, allocations: 374.5 kB / 0.8212 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5213, allocations: 7.656 kB / 0.8212 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.5215, allocations: 35 kB / 0.8213 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.5218, allocations: 198.8 kB / 0.8214 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.5218, allocations: 5.812 kB / 0.8214 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.5219, allocations: 7.719 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.5221, allocations: 118.2 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5221, allocations: 3.938 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5221, allocations: 1.734 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5221, allocations: 5.5 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.5223, allocations: 82.67 kB / 0.8217 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.5227, allocations: 438.9 kB / 0.8221 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.5229, allocations: 110.5 kB / 0.8222 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.523, allocations: 57.5 kB / 0.8222 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.523, allocations: 2 kB / 0.8222 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.523, allocations: 36.84 kB / 0.8223 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.234e-06/0.523, allocations: 2.031 kB / 0.8223 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003839/0.5234, allocations: 160.7 kB / 0.8224 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5235, allocations: 106.1 kB / 0.8225 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.5236, allocations: 148.5 kB / 0.8227 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5236, allocations: 26.41 kB / 0.8227 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.5237, allocations: 111.8 kB / 0.8228 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.5237, allocations: 23.56 kB / 0.8228 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.5237, allocations: 29.89 kB / 0.8229 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.5238, allocations: 333.1 kB / 0.8232 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.5239, allocations: 40.12 kB / 0.8232 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.524, allocations: 159.7 kB / 0.8234 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.5242, allocations: 94.64 kB / 0.8235 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5242, allocations: 0 / 0.8235 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00021/0.5244, allocations: 148.5 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5244, allocations: 6.953 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5244, allocations: 0 / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5245, allocations: 2.031 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.5245, allocations: 22.36 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5246, allocations: 1.891 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.5246, allocations: 15.09 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.5246, allocations: 3.219 kB / 0.8236 GB, free: 13.82 MB / 0.6198 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 8.144e-05/0.5247, allocations: 130.8 kB / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.5247, allocations: 13.41 kB / 0.8238 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.5249, allocations: 91.12 kB / 0.8239 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5249, allocations: 3.062 kB / 0.8239 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5249, allocations: 1.312 kB / 0.8239 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5249, allocations: 2.672 kB / 0.8239 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.5251, allocations: 144.4 kB / 0.824 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5251, allocations: 5.547 kB / 0.824 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.5252, allocations: 19.75 kB / 0.824 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5252, allocations: 1.469 kB / 0.824 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5252, allocations: 2.703 kB / 0.824 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5252, allocations: 1.156 kB / 0.824 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5252, allocations: 3.484 kB / 0.824 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.5254, allocations: 368.5 kB / 0.8244 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.5254, allocations: 16.47 kB / 0.8244 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.5255, allocations: 10.97 kB / 0.8244 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.5256, allocations: 18.3 kB / 0.8244 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.5256, allocations: 23.78 kB / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.5256, allocations: 3.156 kB / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.433e-05/0.5257, allocations: 113.7 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5257, allocations: 0 / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002124/0.5259, allocations: 18.47 kB / 0.8246 GB, free: 13.05 MB / 0.6198 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.0001056/0.526, allocations: 99.56 kB / 0.8247 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.5263, allocations: 96.19 kB / 0.8248 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5263, allocations: 0 / 0.8248 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.5264, allocations: 51.03 kB / 0.8248 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.5267, allocations: 19.73 kB / 0.8248 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.5271, allocations: 238.8 kB / 0.8251 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.5271, allocations: 87.77 kB / 0.8252 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.5272, allocations: 18.25 kB / 0.8252 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5272, allocations: 0 / 0.8252 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.002951/0.5301, allocations: 1.557 MB / 0.8267 GB, free: 12.47 MB / 0.6198 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: 5.697736568748951] Failed to read output from testmodel.py, exit status != 0: 0.537759599275887 0.5503416569999999 0.026975112000000002 Calling exit ...