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.00081/0.00081, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009211/0.0009211, allocations: 165 kB / 23.02 MB, free: 1.551 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.9959/0.9959, allocations: 177.1 MB / 203.4 MB, free: 5.613 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-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 0.7936/0.7936, allocations: 154.8 MB / 414.7 MB, free: 484 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 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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5206 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.032e-05, allocations: 5.703 kB / 0.5206 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00144/0.00147, allocations: 0.8342 MB / 0.5214 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002554, allocations: 0.933 MB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.002599, allocations: 4 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.002632, allocations: 12.89 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.002722, allocations: 20.95 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.002942, allocations: 43.94 kB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.003062, allocations: 111.6 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003169, allocations: 27.06 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.003351, allocations: 75.81 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.003419, allocations: 47.81 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003441, allocations: 8 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.003482, allocations: 13.78 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.003503, allocations: 27.91 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.003534, allocations: 27.91 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.003677, allocations: 95.64 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003679, allocations: 1.562 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.32e-07/0.00368, allocations: 0 / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.003684, allocations: 0 / 0.5229 GB, free: 15.61 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.0004306/0.004115, allocations: 452.8 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.004152, allocations: 8.031 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.004328, allocations: 42.23 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.004561, allocations: 184.8 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.004579, allocations: 4.375 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.004597, allocations: 16.36 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.004763, allocations: 122.8 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.004772, allocations: 192 / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.004786, allocations: 11.28 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.004793, allocations: 4.125 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.00485, allocations: 19.98 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.005256, allocations: 0.5639 MB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.005382, allocations: 117.2 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.005422, allocations: 39.62 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.005443, allocations: 0 / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.005465, allocations: 41.89 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.005466, allocations: 0.8438 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003666/0.005833, allocations: 94 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.00588, allocations: 108.3 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.005997, allocations: 201.9 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.006018, allocations: 29.7 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.006084, allocations: 151.1 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.006117, allocations: 28.69 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.006165, allocations: 31.36 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.006322, allocations: 0.4991 MB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.006362, allocations: 19.92 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.006445, allocations: 143.2 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.006515, allocations: 51.06 kB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006517, allocations: 0 / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001211/0.006638, allocations: 97.72 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.006653, allocations: 6.344 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.006659, allocations: 4.047 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.006677, allocations: 10.72 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.006785, allocations: 16.06 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.006791, allocations: 0 / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.006842, allocations: 19.88 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.006851, allocations: 4 kB / 0.5259 GB, free: 12.19 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 7.932e-05/0.00693, allocations: 168 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.006974, allocations: 17.2 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.007088, allocations: 66.02 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.00709, allocations: 0 / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.007097, allocations: 7.984 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007101, allocations: 0.5625 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.007298, allocations: 145.1 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007299, allocations: 0 / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.007352, allocations: 17.8 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.007356, allocations: 3.938 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.007366, allocations: 4 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.007369, allocations: 3.938 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.007371, allocations: 2.438 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.007641, allocations: 466.2 kB / 0.5267 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.007663, allocations: 11.89 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.007688, allocations: 4 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.007798, allocations: 11.98 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.007871, allocations: 30.39 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.007877, allocations: 3.984 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.007936, allocations: 150.4 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007936, allocations: 0 / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000213/0.008149, allocations: 20 kB / 0.527 GB, free: 11.02 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.0001091/0.008258, allocations: 104.3 kB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.008398, allocations: 51.61 kB / 0.5271 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0084, allocations: 0.9375 kB / 0.5271 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.00845, allocations: 35.61 kB / 0.5271 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.008749, allocations: 22.48 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.0091, allocations: 218 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.786e-05/0.009148, allocations: 63.34 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.009196, allocations: 16.52 kB / 0.5274 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.009241, allocations: 19.66 kB / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.009242, allocations: 0 / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.003163/0.0124, allocations: 1.425 MB / 0.5289 GB, free: 9.07 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: 3.8570587071590126]