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.001055/0.001055, allocations: 93.06 kB / 19.65 MB, free: 280 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.001477/0.001477, allocations: 173 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 1.047/1.047, 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.8443/0.8443, allocations: 154.9 MB / 414.8 MB, free: 396 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 3.387e-06/3.387e-06, allocations: 0.875 kB / 0.5208 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.473e-05, allocations: 6.031 kB / 0.5208 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001709/0.001744, allocations: 0.8337 MB / 0.5216 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002762, allocations: 0.9421 MB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.002816, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.002854, allocations: 11.78 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.002966, allocations: 21.06 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.003246, allocations: 39.94 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.003373, allocations: 119.6 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.003486, allocations: 21.77 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.003718, allocations: 84.55 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.003797, allocations: 41.3 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.003817, allocations: 4 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.003868, allocations: 15.94 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.003888, allocations: 19.91 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.00392, allocations: 25.27 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.004075, allocations: 67.67 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004078, allocations: 0 / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004079, allocations: 0 / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004083, allocations: 3.5 kB / 0.5229 GB, free: 15.53 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.0004368/0.00452, allocations: 428.1 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.004562, allocations: 8.031 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.004723, allocations: 28.83 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.004899, allocations: 159.6 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.004922, allocations: 8.375 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.004933, allocations: 4.375 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.005115, allocations: 113 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.005123, allocations: 4.75 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.005135, allocations: 4.875 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005142, allocations: 384 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.005198, allocations: 32.88 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.005672, allocations: 0.5574 MB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.005809, allocations: 113.2 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.00585, allocations: 35.97 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.005873, allocations: 7.938 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.0059, allocations: 42.23 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.005901, allocations: 0 / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002353/0.006137, allocations: 95.16 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.006178, allocations: 102.8 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.00628, allocations: 206.7 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.006296, allocations: 25.7 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.006354, allocations: 152.1 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.00638, allocations: 23.8 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.006416, allocations: 31.36 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.006538, allocations: 0.4923 MB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.006572, allocations: 13.34 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.006616, allocations: 50.98 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.65e-05/0.006682, allocations: 57.66 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006684, allocations: 0 / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001098/0.006794, allocations: 97.45 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.00681, allocations: 4 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.006815, allocations: 0 / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.006828, allocations: 4 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.006904, allocations: 22.67 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.006909, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.006947, allocations: 4 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.006955, allocations: 4 kB / 0.5258 GB, free: 12.35 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 8.173e-05/0.007037, allocations: 164.5 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.007075, allocations: 15.84 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.007184, allocations: 71.17 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007187, allocations: 3.938 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.007192, allocations: 4.938 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007195, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.007379, allocations: 148.7 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.007381, allocations: 0.9375 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.007417, allocations: 8 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.007421, allocations: 4.594 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.007433, allocations: 7.984 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.007435, allocations: 1.125 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007436, allocations: 0 / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.007646, allocations: 468.6 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.007665, allocations: 11.94 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.007685, allocations: 7.938 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.007759, allocations: 4 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.00782, allocations: 23.95 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.007826, allocations: 4 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.007895, allocations: 157.5 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.007895, allocations: 0 / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001987/0.008093, allocations: 12 kB / 0.5268 GB, free: 11.19 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.0001085/0.008202, allocations: 107.2 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.008323, allocations: 51.67 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008324, allocations: 0 / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.008367, allocations: 33.53 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.008654, allocations: 20.11 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.009001, allocations: 222.8 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.009046, allocations: 65.19 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.161e-05/0.009098, allocations: 20.06 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.009142, allocations: 21.3 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.009143, allocations: 0 / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.003178/0.01232, allocations: 1.218 MB / 0.5285 GB, free: 9.438 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.919139632023871]