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.002103/0.002103, allocations: 85.48 kB / 19.44 MB, free: 344 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.002058/0.002058, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.374/1.374, allocations: 154.6 MB / 414.2 MB, free: 0.6484 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 178] 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 3.076e-06/3.076e-06, allocations: 0 / 0.5197 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.828e-05/4.136e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.003021/0.003063, allocations: 0.8251 MB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.005036, allocations: 0.914 MB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.005112, allocations: 1 kB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.803e-05/0.00516, allocations: 7.875 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.00532, allocations: 24.31 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.005641, allocations: 44.38 kB / 0.5215 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.005899, allocations: 120.3 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.006044, allocations: 18.52 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.006353, allocations: 75.75 kB / 0.5217 GB, free: 492 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.006488, allocations: 47.86 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.00653, allocations: 8.562 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.0066, allocations: 12 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.006648, allocations: 29.69 kB / 0.5218 GB, free: 396 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/0.006724, allocations: 31.92 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.007062, allocations: 131.6 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007066, allocations: 3.938 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007067, allocations: 1.719 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.007073, allocations: 0 / 0.5219 GB, free: 228 kB / 490.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.001049/0.008122, allocations: 459.7 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.008173, allocations: 13.5 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.008584, allocations: 36.77 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.009174, allocations: 177.2 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.009207, allocations: 9.844 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.009232, allocations: 4.375 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.009618, allocations: 124.1 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.009631, allocations: 1.531 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.009652, allocations: 4.375 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.009665, allocations: 8.125 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.009967, allocations: 52.55 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.011, allocations: 0.5866 MB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.01139, allocations: 129.2 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.0116, allocations: 59.05 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.01164, allocations: 0 / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.0117, allocations: 45.33 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.0117, allocations: 0.5 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0007777/0.01248, allocations: 135.6 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.01261, allocations: 106.8 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.01289, allocations: 230.7 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.01294, allocations: 29.7 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.01309, allocations: 151.1 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.01315, allocations: 27.78 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.01325, allocations: 36.09 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003835/0.01363, allocations: 0.4962 MB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.01381, allocations: 37.22 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.01414, allocations: 170.9 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.01449, allocations: 93.72 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0145, allocations: 0 / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004973/0.01499, allocations: 145.4 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.01502, allocations: 4 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01502, allocations: 2.75 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.01505, allocations: 4 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01521, allocations: 11.98 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01522, allocations: 4 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.01536, allocations: 4 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.01538, allocations: 4 kB / 0.5252 GB, free: 12.56 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.0002075/0.01559, allocations: 177.4 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.01571, allocations: 19.84 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.01603, allocations: 78.94 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.01603, allocations: 4 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01604, allocations: 0.9375 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01604, allocations: 0 / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.01654, allocations: 161.2 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01654, allocations: 0 / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.01667, allocations: 17.33 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.01668, allocations: 7.938 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.01669, allocations: 0 / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.0167, allocations: 2.438 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.0167, allocations: 4 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007335/0.01743, allocations: 498.2 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.01746, allocations: 11.89 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.0175, allocations: 8 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.01779, allocations: 10.83 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.01791, allocations: 27.89 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.01793, allocations: 8 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001743/0.0181, allocations: 158.4 kB / 0.5263 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.0181, allocations: 0 / 0.5263 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005696/0.01867, allocations: 16 kB / 0.5264 GB, free: 11.32 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.0001988/0.01887, allocations: 99.16 kB / 0.5265 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.01937, allocations: 103.9 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01937, allocations: 0 / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.0196, allocations: 55.69 kB / 0.5266 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.02033, allocations: 12.03 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.02106, allocations: 230 kB / 0.5268 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.02123, allocations: 99.19 kB / 0.5269 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.02134, allocations: 12.12 kB / 0.5269 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.02144, allocations: 24.48 kB / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.02144, allocations: 3.562 kB / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.00683/0.02827, allocations: 1.41 MB / 0.5283 GB, free: 9.285 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1705325009534135]