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.0008282/0.0008282, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008394/0.0008394, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.92/0.92, allocations: 177.2 MB / 203.6 MB, free: 5.777 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-531:686: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-531:694: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.7576/0.7576, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009694/0.0009694, allocations: 67.91 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5028, allocations: 101.9 MB / 0.7192 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001607/0.5044, allocations: 0.7926 MB / 0.7199 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.5054, allocations: 0.9034 MB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.5055, allocations: 2.25 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.5056, allocations: 14.41 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.5056, allocations: 10.44 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.5059, allocations: 31.92 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.506, allocations: 76.2 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.5062, allocations: 31.69 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.5064, allocations: 49.16 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.5064, allocations: 28.28 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.5065, allocations: 4.656 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.5065, allocations: 13.36 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.5065, allocations: 11.08 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.5066, allocations: 27.98 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.5067, allocations: 90.19 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5068, allocations: 0.5625 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.185e-06/0.5068, allocations: 4 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.5068, allocations: 1.281 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB 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.0004887/0.5073, allocations: 319.6 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5073, allocations: 9.406 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.5074, allocations: 16.28 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.5077, allocations: 147.7 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5077, allocations: 1.781 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.5077, allocations: 7.281 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.5078, allocations: 72 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5078, allocations: 192 / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.5079, allocations: 3.938 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5079, allocations: 1.828 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.5079, allocations: 31.45 kB / 0.7218 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.5083, allocations: 252.2 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5084, allocations: 48.02 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.5085, allocations: 17.48 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.5085, allocations: 1.281 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.5085, allocations: 36.38 kB / 0.7221 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.5085, allocations: 1.25 kB / 0.7221 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000225/0.5087, allocations: 78.56 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.5087, allocations: 52.53 kB / 0.7223 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/0.5088, allocations: 136.7 kB / 0.7224 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.5088, allocations: 25.7 kB / 0.7224 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.5089, allocations: 104.3 kB / 0.7225 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.5089, allocations: 5.984 kB / 0.7225 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.5089, allocations: 18.72 kB / 0.7225 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.509, allocations: 324.2 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.509, allocations: 14.11 kB / 0.7229 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.509, allocations: 14.59 kB / 0.7229 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.728e-05/0.5091, allocations: 30.81 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5091, allocations: 1 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.707e-05/0.5092, allocations: 70.03 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5092, allocations: 5.938 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5092, allocations: 4.641 kB / 0.723 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5092, allocations: 5.312 kB / 0.723 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.5093, allocations: 4.438 kB / 0.723 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5093, allocations: 1.25 kB / 0.723 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.5094, allocations: 20.72 kB / 0.723 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.5094, allocations: 1.953 kB / 0.723 GB, free: 20.66 MB / 0.6355 GB 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 6.426e-05/0.5094, allocations: 123.9 kB / 0.7231 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.5094, allocations: 11.08 kB / 0.7231 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.5095, allocations: 11.66 kB / 0.7231 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5095, allocations: 0.7969 kB / 0.7231 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5095, allocations: 1 kB / 0.7231 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.5095, allocations: 10.61 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5095, allocations: 1.609 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.5096, allocations: 13.28 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.5096, allocations: 12.45 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001038/0.5097, allocations: 130.5 kB / 0.7233 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001087/0.5098, allocations: 239.6 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.653e-05/0.5099, allocations: 15.73 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.5099, allocations: 103 kB / 0.7237 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of Backend: time 2.71e-07/0.5099, allocations: 0 / 0.7237 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.5103, allocations: 102.1 kB / 0.7237 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004182/0.5107, allocations: 0.6237 MB / 0.7244 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.003778/0.5145, allocations: 1.072 MB / 0.7254 GB, free: 19.26 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.353001844137907] Failed to read output from testmodel.py, exit status != 0: 0.5212083600927144 0.5358042169999999 0.026094848 Calling exit ...