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.001793/0.001793, allocations: 85.48 kB / 19.44 MB, free: 336 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.002079/0.002079, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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.37/1.37, allocations: 154.8 MB / 414.4 MB, free: 444 kB / 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 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.949e-05, allocations: 9.094 kB / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001962/0.001991, allocations: 0.8304 MB / 0.5207 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003285, allocations: 0.9142 MB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.003336, allocations: 0 / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.003372, allocations: 11.88 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.003481, allocations: 27.72 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.003706, allocations: 47.81 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.00387, allocations: 115.6 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.003978, allocations: 21.3 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.004193, allocations: 75.8 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.004277, allocations: 39.89 kB / 0.522 GB, free: 176 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.00431, allocations: 12 kB / 0.522 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.057e-05/0.00436, allocations: 12 kB / 0.522 GB, free: 152 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.004396, allocations: 28.48 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.004446, allocations: 32.47 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.004674, allocations: 127.5 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004676, allocations: 0.5625 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004677, allocations: 0.9375 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004681, allocations: 0 / 0.5222 GB, free: 15.96 MB / 0.4948 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.0009456/0.005627, allocations: 465.2 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.00566, allocations: 8.031 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.005937, allocations: 45.53 kB / 0.5227 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.00635, allocations: 184.2 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.006374, allocations: 10.28 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.006397, allocations: 12.38 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.006664, allocations: 117.2 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.006673, allocations: 192 / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006684, allocations: 0.9062 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.006691, allocations: 4.125 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.006925, allocations: 65.11 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.007653, allocations: 0.5761 MB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.007931, allocations: 138.7 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.008063, allocations: 59.81 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.008092, allocations: 4 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.00813, allocations: 34.27 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.008131, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005042/0.008636, allocations: 148.5 kB / 0.524 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.008712, allocations: 102.8 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.008914, allocations: 217.8 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.008947, allocations: 33.7 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.009057, allocations: 155.1 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.009097, allocations: 24.39 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.009165, allocations: 35.36 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002645/0.009429, allocations: 0.5013 MB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.009545, allocations: 27.98 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.00977, allocations: 172.1 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.009993, allocations: 91.67 kB / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009995, allocations: 3.938 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003034/0.0103, allocations: 126.4 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.01032, allocations: 9.219 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01032, allocations: 0 / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.01033, allocations: 0 / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.01045, allocations: 20.61 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01046, allocations: 4.656 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.01055, allocations: 16.48 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01056, allocations: 4 kB / 0.5254 GB, free: 12.29 MB / 0.4948 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.0001441/0.01071, allocations: 167.6 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.01078, allocations: 19.84 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.011, allocations: 81.94 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01101, allocations: 0 / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01101, allocations: 0 / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.01102, allocations: 4.375 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.01132, allocations: 159.7 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01132, allocations: 0 / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.01141, allocations: 16 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.01141, allocations: 7.922 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.01143, allocations: 4 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01143, allocations: 0 / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01143, allocations: 3.984 kB / 0.5259 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.01193, allocations: 0.496 MB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.01196, allocations: 11.89 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.01198, allocations: 0 / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.01214, allocations: 4 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.01222, allocations: 33.75 kB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.01223, allocations: 4 kB / 0.5264 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001174/0.01235, allocations: 162.4 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01235, allocations: 0 / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003037/0.01265, allocations: 16 kB / 0.5266 GB, free: 11.04 MB / 0.4948 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.0001374/0.01279, allocations: 98 kB / 0.5267 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.01311, allocations: 95.58 kB / 0.5268 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.01311, allocations: 4 kB / 0.5268 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.01326, allocations: 53.44 kB / 0.5268 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.01366, allocations: 22.27 kB / 0.5269 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.01414, allocations: 229.9 kB / 0.5271 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.01425, allocations: 90.7 kB / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.01432, allocations: 16.14 kB / 0.5272 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.01439, allocations: 21.55 kB / 0.5272 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01439, allocations: 0 / 0.5272 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.004757/0.01914, allocations: 1.417 MB / 0.5286 GB, free: 9.012 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.008262152899988]