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.00191/0.00191, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.00214/0.00214, allocations: 167.2 kB / 22.44 MB, free: 5.34 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.391/1.391, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.18/1.18, allocations: 155 MB / 414.2 MB, free: 4.934 MB / 382.1 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 178] 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.002087/0.002087, allocations: 73.58 kB / 0.6192 GB, free: 4.105 MB / 0.5294 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.5176/0.5197, allocations: 102 MB / 0.7188 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001822/0.5215, allocations: 0.8119 MB / 0.7196 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.5224, allocations: 0.9096 MB / 0.7205 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.5224, allocations: 1.375 kB / 0.7205 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.5225, allocations: 10.22 kB / 0.7205 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.5226, allocations: 23.53 kB / 0.7205 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.5228, allocations: 46.2 kB / 0.7206 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.523, allocations: 111.8 kB / 0.7207 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.5231, allocations: 26.45 kB / 0.7207 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.5233, allocations: 80.81 kB / 0.7208 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.5234, allocations: 52.03 kB / 0.7208 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.5234, allocations: 9.625 kB / 0.7208 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.5234, allocations: 16.56 kB / 0.7208 GB, free: 388 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.5235, allocations: 23.58 kB / 0.7209 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.5235, allocations: 47.81 kB / 0.7209 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.5237, allocations: 140 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5237, allocations: 0 / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5237, allocations: 1.125 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5237, allocations: 3.938 kB / 0.721 GB, free: 272 kB / 0.6075 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.0006446/0.5244, allocations: 367.1 kB / 0.7214 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5244, allocations: 10.31 kB / 0.7214 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.5247, allocations: 41.97 kB / 0.7214 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.5252, allocations: 189.1 kB / 0.7216 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.5252, allocations: 12.53 kB / 0.7216 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.5252, allocations: 5.75 kB / 0.7216 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.5255, allocations: 116.3 kB / 0.7218 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5255, allocations: 7.938 kB / 0.7218 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.5255, allocations: 6.344 kB / 0.7218 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.5256, allocations: 5.438 kB / 0.7218 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.5258, allocations: 72.05 kB / 0.7218 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.5265, allocations: 445.6 kB / 0.7223 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.5268, allocations: 111.2 kB / 0.7224 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.527, allocations: 55.88 kB / 0.7224 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.527, allocations: 3.109 kB / 0.7224 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.527, allocations: 33.55 kB / 0.7225 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.604e-06/0.527, allocations: 0 / 0.7225 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0006123/0.5276, allocations: 166.6 kB / 0.7226 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.5277, allocations: 108.2 kB / 0.7227 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.5278, allocations: 144.8 kB / 0.7229 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.5278, allocations: 32.81 kB / 0.7229 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.5279, allocations: 106.1 kB / 0.723 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.5279, allocations: 26.09 kB / 0.723 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.528, allocations: 28.86 kB / 0.723 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5281, allocations: 326.2 kB / 0.7234 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.5283, allocations: 44 kB / 0.7234 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.5285, allocations: 163.7 kB / 0.7236 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.5288, allocations: 94.31 kB / 0.7236 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5288, allocations: 0 / 0.7236 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003749/0.5292, allocations: 144.6 kB / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5292, allocations: 7.047 kB / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5292, allocations: 0 / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5292, allocations: 2.188 kB / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.5294, allocations: 18.66 kB / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5294, allocations: 1.281 kB / 0.7238 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.5295, allocations: 24.09 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5295, allocations: 2.188 kB / 0.7238 GB, free: 14.02 MB / 0.6231 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.0001085/0.5296, allocations: 130 kB / 0.724 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.5297, allocations: 19.3 kB / 0.724 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.53, allocations: 83.47 kB / 0.7241 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.53, allocations: 2.828 kB / 0.7241 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.53, allocations: 5.062 kB / 0.7241 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.53, allocations: 1.578 kB / 0.7241 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.5303, allocations: 143.1 kB / 0.7242 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5303, allocations: 2.234 kB / 0.7242 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5304, allocations: 20.52 kB / 0.7242 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5304, allocations: 2.094 kB / 0.7242 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.5304, allocations: 6.906 kB / 0.7242 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5304, allocations: 1.031 kB / 0.7242 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5304, allocations: 2.109 kB / 0.7242 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.5309, allocations: 378.8 kB / 0.7246 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.5309, allocations: 11.94 kB / 0.7246 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5309, allocations: 2.625 kB / 0.7246 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.5311, allocations: 17.45 kB / 0.7246 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.5312, allocations: 24.95 kB / 0.7247 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.5312, allocations: 7.609 kB / 0.7247 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.349e-05/0.5313, allocations: 112 kB / 0.7248 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5313, allocations: 0 / 0.7248 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003212/0.5316, allocations: 18.03 kB / 0.7248 GB, free: 13.25 MB / 0.6231 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.0001205/0.5317, allocations: 99.83 kB / 0.7249 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004414/0.5322, allocations: 100.1 kB / 0.725 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5322, allocations: 0.5312 kB / 0.725 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.5324, allocations: 54.06 kB / 0.725 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.5328, allocations: 16.08 kB / 0.725 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.5333, allocations: 204 kB / 0.7252 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.5334, allocations: 88.16 kB / 0.7253 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.896e-05/0.5335, allocations: 19.97 kB / 0.7253 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.5336, allocations: 22.75 kB / 0.7254 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.5336, allocations: 0 / 0.7254 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.004556/0.5381, allocations: 1.418 MB / 0.7267 GB, free: 12.68 MB / 0.6231 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: 6.078498665243387] Failed to read output from testmodel.py, exit status != 0: 0.5465410575270653 0.561158272 0.034262694 Calling exit ...