Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.00144/0.00144, allocations: 84.73 kB / 19.44 MB, free: 464 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.001874/0.001874, allocations: 161.7 kB / 22.75 MB, free: 1.789 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.25/1.25, allocations: 154.6 MB / 414.1 MB, free: 0.6641 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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.018e-06/4.018e-06, allocations: 0.5469 kB / 0.5197 GB, free: 1.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.498e-05/4.9e-05, allocations: 4.141 kB / 0.5197 GB, free: 1.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003167/0.003216, allocations: 0.7849 MB / 0.5204 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.005277, allocations: 0.9028 MB / 0.5213 GB, free: 15.73 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.005391, allocations: 6.375 kB / 0.5213 GB, free: 15.72 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.005575, allocations: 12.62 kB / 0.5213 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.005643, allocations: 17.44 kB / 0.5214 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.005941, allocations: 31.89 kB / 0.5214 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.006132, allocations: 71.78 kB / 0.5215 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.006289, allocations: 27.92 kB / 0.5215 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.006524, allocations: 54.17 kB / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.006622, allocations: 23.91 kB / 0.5216 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.006654, allocations: 4 kB / 0.5216 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.038e-05/0.006714, allocations: 11.98 kB / 0.5216 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.006742, allocations: 11.94 kB / 0.5216 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.006796, allocations: 19.92 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.007037, allocations: 84.3 kB / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.007042, allocations: 0.5625 kB / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007044, allocations: 0 / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.007048, allocations: 0.875 kB / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007998/0.007848, allocations: 314.4 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.007896, allocations: 17.47 kB / 0.522 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.008144, allocations: 20.88 kB / 0.522 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.008504, allocations: 146.5 kB / 0.5222 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.008524, allocations: 4.375 kB / 0.5222 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.008545, allocations: 9.906 kB / 0.5222 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.008776, allocations: 58.23 kB / 0.5222 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.008787, allocations: 192 / 0.5222 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.008804, allocations: 4.375 kB / 0.5222 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.008809, allocations: 5.344 kB / 0.5222 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.008996, allocations: 35.92 kB / 0.5223 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.009668, allocations: 250.5 kB / 0.5225 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.009918, allocations: 46.5 kB / 0.5226 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.01001, allocations: 21.53 kB / 0.5226 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.01003, allocations: 1 kB / 0.5226 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.01008, allocations: 38.56 kB / 0.5226 GB, free: 14.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.01008, allocations: 0 / 0.5226 GB, free: 14.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.000407/0.01049, allocations: 70.91 kB / 0.5227 GB, free: 14.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.01055, allocations: 55.41 kB / 0.5227 GB, free: 14.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01076, allocations: 138 kB / 0.5229 GB, free: 14.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.01079, allocations: 29.64 kB / 0.5229 GB, free: 13.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.0109, allocations: 100.1 kB / 0.523 GB, free: 13.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.01092, allocations: 11.95 kB / 0.523 GB, free: 13.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.01099, allocations: 17.7 kB / 0.523 GB, free: 13.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.01121, allocations: 316.1 kB / 0.5233 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.01129, allocations: 15.98 kB / 0.5233 GB, free: 13.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.01136, allocations: 20.03 kB / 0.5234 GB, free: 13.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.01149, allocations: 38.3 kB / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01149, allocations: 0 / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002363/0.01173, allocations: 73.52 kB / 0.5235 GB, free: 13.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.01175, allocations: 4.938 kB / 0.5235 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01175, allocations: 0 / 0.5235 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.01178, allocations: 1.5 kB / 0.5235 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.01187, allocations: 7.984 kB / 0.5235 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01188, allocations: 0 / 0.5235 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.012, allocations: 12.48 kB / 0.5235 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.01201, allocations: 0 / 0.5235 GB, free: 13.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001541/0.01216, allocations: 114.9 kB / 0.5236 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.01222, allocations: 11.89 kB / 0.5236 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.01227, allocations: 13.41 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01227, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.01228, allocations: 4.609 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01228, allocations: 0 / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.01256, allocations: 121.8 kB / 0.5237 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01257, allocations: 0 / 0.5237 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.01264, allocations: 17.3 kB / 0.5238 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01264, allocations: 0 / 0.5238 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01265, allocations: 0 / 0.5238 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01265, allocations: 2.5 kB / 0.5238 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01265, allocations: 0 / 0.5238 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.01298, allocations: 159.5 kB / 0.5239 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.013, allocations: 7.891 kB / 0.5239 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.01303, allocations: 8 kB / 0.5239 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.01321, allocations: 7.984 kB / 0.5239 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.01329, allocations: 10.42 kB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.01332, allocations: 3.984 kB / 0.5239 GB, free: 12.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.01345, allocations: 109.9 kB / 0.5241 GB, free: 12.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01345, allocations: 0 / 0.5241 GB, free: 12.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.01389, allocations: 8 kB / 0.5241 GB, free: 12.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000181/0.01407, allocations: 97 kB / 0.5242 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.01431, allocations: 39.91 kB / 0.5242 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01431, allocations: 0 / 0.5242 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.0144, allocations: 17.31 kB / 0.5242 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.01486, allocations: 15.97 kB / 0.5242 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.01548, allocations: 184.9 kB / 0.5244 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.0156, allocations: 78.92 kB / 0.5245 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.01566, allocations: 7.984 kB / 0.5245 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.01572, allocations: 12.5 kB / 0.5245 GB, free: 12.23 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01572, allocations: 0 / 0.5245 GB, free: 12.23 MB / 458.7 MB Notification: Performance of Templates: time 0.00533/0.02105, allocations: 0.9017 MB / 0.5254 GB, free: 11.38 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.979240435990505]