Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009198/0.0009198, allocations: 80.44 kB / 19.91 MB, free: 4 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.0007614/0.0007614, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8892/0.8892, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7282/0.7282, allocations: 154.9 MB / 414.9 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.001747/0.001747, allocations: 72.45 kB / 0.6199 GB, free: 12.7 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4886/0.4903, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001701/0.492, allocations: 0.8108 MB / 0.7203 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.493, allocations: 0.908 MB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.493, allocations: 4.969 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.4931, allocations: 9.141 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.635e-05/0.4932, allocations: 23.2 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.4934, allocations: 47.19 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.4935, allocations: 120 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4937, allocations: 23.67 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.4939, allocations: 72.61 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.494, allocations: 56.25 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.494, allocations: 9.125 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.4941, allocations: 13.25 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.4941, allocations: 24.08 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.4941, allocations: 47.33 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.4943, allocations: 142.5 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4943, allocations: 0 / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4943, allocations: 1 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4943, allocations: 0 / 0.7218 GB, free: 21.96 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.0005131/0.4948, allocations: 370.9 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4949, allocations: 10.75 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.4951, allocations: 38.08 kB / 0.7222 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.4955, allocations: 188.2 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.4955, allocations: 12.03 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.4955, allocations: 10.56 kB / 0.7224 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.4958, allocations: 112.8 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4958, allocations: 4.734 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4958, allocations: 5.156 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4958, allocations: 6.25 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.496, allocations: 76.47 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.4964, allocations: 440.2 kB / 0.723 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.4966, allocations: 112.1 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.4967, allocations: 56.14 kB / 0.7231 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.4968, allocations: 2.312 kB / 0.7231 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4968, allocations: 33.92 kB / 0.7232 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.4968, allocations: 1.156 kB / 0.7232 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000435/0.4972, allocations: 161 kB / 0.7233 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.4973, allocations: 110.3 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4974, allocations: 147.7 kB / 0.7236 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4974, allocations: 29.11 kB / 0.7236 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.4974, allocations: 109.9 kB / 0.7237 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.4975, allocations: 26.23 kB / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.4975, allocations: 23.91 kB / 0.7237 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.4975, allocations: 326.2 kB / 0.7241 GB, free: 20 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.4976, allocations: 49.22 kB / 0.7241 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4977, allocations: 158 kB / 0.7243 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4979, allocations: 99.86 kB / 0.7244 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4979, allocations: 0 / 0.7244 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000209/0.4981, allocations: 141.3 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4981, allocations: 5.484 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4982, allocations: 0 / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4982, allocations: 2.562 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.119e-05/0.4983, allocations: 22.22 kB / 0.7245 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4983, allocations: 1.859 kB / 0.7245 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.4983, allocations: 18.31 kB / 0.7245 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4983, allocations: 4.359 kB / 0.7245 GB, free: 19.71 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.694e-05/0.4984, allocations: 133.3 kB / 0.7247 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.4984, allocations: 12.78 kB / 0.7247 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.4986, allocations: 84.86 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4986, allocations: 1.828 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.4986, allocations: 1.062 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.4986, allocations: 13.19 kB / 0.7248 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.4987, allocations: 10.03 kB / 0.7248 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4988, allocations: 13.67 kB / 0.7248 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.4988, allocations: 32.12 kB / 0.7248 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002377/0.4991, allocations: 360.1 kB / 0.7252 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000232/0.4993, allocations: 447.2 kB / 0.7256 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001072/0.4994, allocations: 54.77 kB / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.4995, allocations: 113 kB / 0.7258 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of Backend: time 2.9e-07/0.4995, allocations: 0 / 0.7258 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.5, allocations: 138.7 kB / 0.7259 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004872/0.5005, allocations: 0.6317 MB / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.004707/0.5052, allocations: 1.687 MB / 0.7282 GB, free: 17.89 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.165913406061009] Failed to read output from testmodel.py, exit status != 0: 0.5129734871443361 0.5211466610000001 0.024728439 Calling exit ...