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.0008932/0.0008932, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008412/0.0008412, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9294/0.9294, allocations: 177.2 MB / 203.6 MB, free: 5.656 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.7299/0.7299, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: 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.000934/0.000934, allocations: 72.48 kB / 0.6196 GB, free: 12.92 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4988, allocations: 101.9 MB / 0.7192 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001908/0.5007, allocations: 0.8126 MB / 0.72 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.5019, allocations: 0.9233 MB / 0.7209 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.502, allocations: 1.375 kB / 0.7209 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.502, allocations: 9.328 kB / 0.7209 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.5021, allocations: 16.19 kB / 0.7209 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.5024, allocations: 50.64 kB / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.5025, allocations: 115.9 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.5027, allocations: 22.98 kB / 0.7211 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.503, allocations: 80.94 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.5031, allocations: 51.73 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.5031, allocations: 9.562 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.5032, allocations: 16.33 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.5032, allocations: 23.75 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.5033, allocations: 43.58 kB / 0.7213 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.5035, allocations: 126.6 kB / 0.7214 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5035, allocations: 0.6094 kB / 0.7214 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5035, allocations: 0 / 0.7214 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.5036, allocations: 0 / 0.7214 GB, free: 22.26 MB / 0.6355 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.0006669/0.5042, allocations: 371.9 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5043, allocations: 9.594 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.5045, allocations: 32.92 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.5048, allocations: 201.3 kB / 0.722 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.5049, allocations: 7.594 kB / 0.722 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.5049, allocations: 5.969 kB / 0.722 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.5051, allocations: 116.8 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5051, allocations: 5.031 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5051, allocations: 4.797 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.5052, allocations: 2.344 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.5053, allocations: 76.52 kB / 0.7222 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.5058, allocations: 440.5 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.506, allocations: 107.2 kB / 0.7227 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.5061, allocations: 60.91 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.5061, allocations: 2.25 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5062, allocations: 37.95 kB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.5062, allocations: 3.938 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004642/0.5066, allocations: 157.7 kB / 0.723 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.5067, allocations: 110.3 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.5068, allocations: 141.6 kB / 0.7232 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.5068, allocations: 33.11 kB / 0.7232 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.5069, allocations: 104.8 kB / 0.7233 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.5069, allocations: 26.23 kB / 0.7234 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.507, allocations: 29.14 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.507, allocations: 330.4 kB / 0.7237 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.5071, allocations: 39.33 kB / 0.7237 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.5073, allocations: 170.6 kB / 0.7239 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.5074, allocations: 87.72 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5075, allocations: 0 / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002178/0.5077, allocations: 148.3 kB / 0.7241 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5077, allocations: 5.469 kB / 0.7241 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5077, allocations: 5.25 kB / 0.7241 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5077, allocations: 1.844 kB / 0.7241 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.5078, allocations: 22.8 kB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5078, allocations: 2.016 kB / 0.7242 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.5079, allocations: 18.47 kB / 0.7242 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5079, allocations: 4.438 kB / 0.7242 GB, free: 20.01 MB / 0.6355 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.338e-05/0.5079, allocations: 122.3 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.508, allocations: 21.42 kB / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.5082, allocations: 89.56 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.5082, allocations: 1.25 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5082, allocations: 1.062 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5082, allocations: 1.672 kB / 0.7244 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.5083, allocations: 139.2 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5083, allocations: 2.266 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.5084, allocations: 17.83 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5084, allocations: 5.188 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.5084, allocations: 7.406 kB / 0.7246 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5084, allocations: 5 kB / 0.7246 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5084, allocations: 2 kB / 0.7246 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.5087, allocations: 374.1 kB / 0.7249 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.5087, allocations: 12.09 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.5087, allocations: 3.312 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5088, allocations: 17.38 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.5089, allocations: 31.41 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.5089, allocations: 4.656 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.509, allocations: 112.2 kB / 0.7251 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.509, allocations: 0 / 0.7251 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002063/0.5092, allocations: 18 kB / 0.7251 GB, free: 19.25 MB / 0.6355 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.0001024/0.5093, allocations: 95.95 kB / 0.7252 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.5095, allocations: 103.7 kB / 0.7253 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5095, allocations: 0 / 0.7253 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.5096, allocations: 50.16 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5099, allocations: 13.81 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.5103, allocations: 215 kB / 0.7256 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.705e-05/0.5104, allocations: 93.28 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.925e-05/0.5104, allocations: 20.28 kB / 0.7257 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.5105, allocations: 22.36 kB / 0.7257 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.5105, allocations: 0 / 0.7257 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.003455/0.5139, allocations: 1.393 MB / 0.7271 GB, free: 18.7 MB / 0.6355 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.321628050995059] Failed to read output from testmodel.py, exit status != 0: 0.519672894035466 0.529049167 0.023719783 Calling exit ...