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.0009944/0.0009944, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001014/0.001014, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.03/1.03, allocations: 177.2 MB / 203.8 MB, free: 5.48 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-545:108: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-545:116: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.8649/0.8649, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.962e-05, allocations: 2.312 kB / 480.1 MB, free: 6.812 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00205/0.00208, allocations: 0.8721 MB / 481 MB, free: 5.977 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003082, allocations: 0.9494 MB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.003125, allocations: 0 / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.003153, allocations: 7.875 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.003246, allocations: 32.84 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.003408, allocations: 41 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.003519, allocations: 123 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.854e-05/0.003598, allocations: 18.58 kB / 482.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.003781, allocations: 90.11 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.003854, allocations: 31.89 kB / 482.3 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003871, allocations: 4 kB / 482.3 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.003925, allocations: 8 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.003944, allocations: 19.92 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.003976, allocations: 27.91 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.004089, allocations: 73.05 kB / 482.4 MB, free: 4.578 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.004092, allocations: 0 / 482.4 MB, free: 4.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004094, allocations: 0 / 482.4 MB, free: 4.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004097, allocations: 0 / 482.4 MB, free: 4.578 MB / 442.7 MB 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.0002865/0.004384, allocations: 312.8 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.004414, allocations: 12.03 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.004534, allocations: 16.92 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.004669, allocations: 158.6 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.004684, allocations: 12.36 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.004693, allocations: 9 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.004812, allocations: 100.3 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.004819, allocations: 0.8125 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004827, allocations: 5 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004831, allocations: 4.375 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.004865, allocations: 20.55 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.005137, allocations: 349.2 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.005215, allocations: 75.69 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.005242, allocations: 31.17 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.005259, allocations: 4 kB / 483.5 MB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.005281, allocations: 35 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.005282, allocations: 1.438 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.000146/0.005428, allocations: 78.44 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.005468, allocations: 106.8 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.005545, allocations: 151.4 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.005564, allocations: 29.7 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.005601, allocations: 92.73 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.00563, allocations: 27.78 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.005663, allocations: 31 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.005743, allocations: 322.8 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.00576, allocations: 8 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.005791, allocations: 42.84 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.005837, allocations: 39.62 kB / 484.4 MB, free: 2.348 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005839, allocations: 0 / 484.4 MB, free: 2.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.099e-05/0.00592, allocations: 77.09 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005932, allocations: 11.94 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.005935, allocations: 0 / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.557e-06/0.005944, allocations: 4.969 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.005999, allocations: 11.98 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.006001, allocations: 4 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.006036, allocations: 17.23 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.006041, allocations: 0 / 484.6 MB, free: 2.223 MB / 442.7 MB 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.939e-05/0.0061, allocations: 114.7 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.006139, allocations: 11.98 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.535e-05/0.006215, allocations: 63.42 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.006218, allocations: 4 kB / 484.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006219, allocations: 0 / 484.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006222, allocations: 0 / 484.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.00637, allocations: 86.64 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006372, allocations: 4 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.006403, allocations: 16.73 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006405, allocations: 0 / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.00641, allocations: 0.5 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006412, allocations: 5.031 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.006416, allocations: 11.88 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.006543, allocations: 303 kB / 485.2 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.006553, allocations: 11.91 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.00657, allocations: 8 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.006647, allocations: 5.203 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.006698, allocations: 27.89 kB / 485.2 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.006704, allocations: 8.531 kB / 485.2 MB, free: 1.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.006729, allocations: 36.06 kB / 485.3 MB, free: 1.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.006729, allocations: 1 kB / 485.3 MB, free: 1.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.006907, allocations: 16 kB / 485.3 MB, free: 1.457 MB / 442.7 MB 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.0001078/0.007014, allocations: 85.95 kB / 485.4 MB, free: 1.367 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.0071, allocations: 42 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.007103, allocations: 0.5938 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.007132, allocations: 27.27 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.007355, allocations: 19.92 kB / 485.4 MB, free: 1.277 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.007605, allocations: 204.5 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.507e-05/0.00765, allocations: 67.28 kB / 485.7 MB, free: 0.957 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.007698, allocations: 18.17 kB / 485.7 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.007764, allocations: 71.36 kB / 485.8 MB, free: 0.875 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007765, allocations: 0.9062 kB / 485.8 MB, free: 0.875 MB / 442.7 MB Notification: Performance of Templates: time 0.002675/0.01044, allocations: 1.201 MB / 487 MB, free: 15.76 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.764361531008035]