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.0009176/0.0009176, 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.001185/0.001185, allocations: 177.2 kB / 23.2 MB, free: 1.363 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.9215/0.9215, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7421/0.7421, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.000996/0.000996, allocations: 79.88 kB / 0.6196 GB, free: 13.07 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.4851/0.4861, allocations: 102 MB / 0.7192 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001469/0.4875, allocations: 0.8062 MB / 0.72 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.4883, allocations: 0.916 MB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.4884, allocations: 1.281 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.4884, allocations: 13.19 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.4885, allocations: 15.58 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.4887, allocations: 50.83 kB / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.4888, allocations: 112.3 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.489, allocations: 18.03 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.4891, allocations: 82.8 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.4892, allocations: 54.19 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.4892, allocations: 9.875 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.513e-05/0.4893, allocations: 16.33 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.4893, allocations: 23.67 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.4894, allocations: 40.42 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.4895, allocations: 143 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4895, allocations: 0.7969 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4895, allocations: 0 / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4896, allocations: 5 kB / 0.7214 GB, free: 22.13 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.0004628/0.49, allocations: 371 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4901, allocations: 12.53 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.4902, allocations: 34.36 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.4905, allocations: 191.9 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.4905, allocations: 3.906 kB / 0.722 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.4905, allocations: 14 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.4907, allocations: 121.5 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4907, allocations: 5.531 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4908, allocations: 0 / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4908, allocations: 1.5 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.4909, allocations: 72.92 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.4913, allocations: 441 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.4914, allocations: 107 kB / 0.7227 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.4915, allocations: 56.75 kB / 0.7228 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4915, allocations: 2.844 kB / 0.7228 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.4916, allocations: 37.66 kB / 0.7228 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4916, allocations: 0 / 0.7228 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003624/0.4919, allocations: 162.2 kB / 0.723 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.4919, allocations: 104.7 kB / 0.7231 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.492, allocations: 146.9 kB / 0.7232 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.492, allocations: 32.2 kB / 0.7233 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.4921, allocations: 110.2 kB / 0.7234 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.4921, allocations: 34.34 kB / 0.7234 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.4921, allocations: 23.83 kB / 0.7234 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.4922, allocations: 326 kB / 0.7237 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.4923, allocations: 39.94 kB / 0.7238 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.4924, allocations: 159.1 kB / 0.7239 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4925, allocations: 99.94 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4925, allocations: 0 / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001905/0.4927, allocations: 136.1 kB / 0.7241 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4927, allocations: 8.891 kB / 0.7242 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4927, allocations: 9.109 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4927, allocations: 5.219 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.4928, allocations: 22.98 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4928, allocations: 5.719 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.4929, allocations: 14.94 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4929, allocations: 2.688 kB / 0.7242 GB, free: 19.88 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 5.461e-05/0.493, allocations: 126.3 kB / 0.7243 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.493, allocations: 13.19 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.4931, allocations: 89.48 kB / 0.7244 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4931, allocations: 6.109 kB / 0.7244 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.4931, allocations: 1.125 kB / 0.7244 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.4932, allocations: 11.33 kB / 0.7245 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.4932, allocations: 7.234 kB / 0.7245 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4933, allocations: 14.38 kB / 0.7245 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.4933, allocations: 27.08 kB / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000221/0.4936, allocations: 361.1 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002064/0.4938, allocations: 447.4 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.906e-05/0.4939, allocations: 46.52 kB / 0.7253 GB, free: 19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.4939, allocations: 119.5 kB / 0.7254 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of Backend: time 1.3e-07/0.4939, allocations: 4.031 kB / 0.7254 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.4944, allocations: 138.7 kB / 0.7256 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003315/0.4947, allocations: 0.6285 MB / 0.7262 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.00365/0.4983, allocations: 1.689 MB / 0.7278 GB, free: 18.06 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.352157745976001] Failed to read output from testmodel.py, exit status != 0: 0.503792482893914 0.5125324569999999 0.021067366 Calling exit ...