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.001728/0.001728, allocations: 72.45 kB / 19.02 MB, free: 1.113 MB / 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.002239/0.002239, allocations: 168 kB / 22.29 MB, free: 3.516 MB / 13.93 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.424/1.424, allocations: 177.2 MB / 202.7 MB, free: 4.812 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-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 1.263/1.263, allocations: 154.7 MB / 413.8 MB, free: 3.141 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [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.002053/0.002053, allocations: 65.89 kB / 0.6181 GB, free: 1.074 MB / 0.5105 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.2032/0.2052, allocations: 102 MB / 0.7177 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002073/0.2073, allocations: 0.7904 MB / 0.7185 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2085, allocations: 0.8977 MB / 0.7194 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.2086, allocations: 4 kB / 0.7194 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.2087, allocations: 23.69 kB / 0.7194 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.2088, allocations: 15.86 kB / 0.7194 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.209, allocations: 23.98 kB / 0.7194 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.2091, allocations: 83.75 kB / 0.7195 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2093, allocations: 20.2 kB / 0.7195 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.2094, allocations: 51.84 kB / 0.7196 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.2095, allocations: 23.84 kB / 0.7196 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2095, allocations: 8 kB / 0.7196 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-05/0.2096, allocations: 8 kB / 0.7196 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.2096, allocations: 19.86 kB / 0.7196 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.2096, allocations: 23.88 kB / 0.7197 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.2098, allocations: 83.61 kB / 0.7197 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2098, allocations: 0 / 0.7197 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2098, allocations: 0 / 0.7197 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2098, allocations: 0 / 0.7197 GB, free: 9.121 MB / 0.6198 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.0005726/0.2104, allocations: 321.9 kB / 0.72 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2104, allocations: 8.031 kB / 0.72 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.2105, allocations: 34.75 kB / 0.7201 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.2106, allocations: 20.88 kB / 0.7201 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2109, allocations: 147 kB / 0.7202 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2109, allocations: 8.375 kB / 0.7202 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.2109, allocations: 4.375 kB / 0.7203 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2111, allocations: 62.23 kB / 0.7203 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2111, allocations: 3.938 kB / 0.7203 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2111, allocations: 4 kB / 0.7203 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2111, allocations: 0 / 0.7203 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.2112, allocations: 35.97 kB / 0.7204 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.2117, allocations: 279.8 kB / 0.7206 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2119, allocations: 50.58 kB / 0.7207 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.2119, allocations: 16.92 kB / 0.7207 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.212, allocations: 0 / 0.7207 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.212, allocations: 34.56 kB / 0.7207 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.212, allocations: 0 / 0.7207 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000266/0.2122, allocations: 77.7 kB / 0.7208 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.2123, allocations: 51.41 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2124, allocations: 143.4 kB / 0.721 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2125, allocations: 33.64 kB / 0.721 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.2125, allocations: 96.12 kB / 0.7211 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.2125, allocations: 11.89 kB / 0.7211 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.2126, allocations: 17.72 kB / 0.7211 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.2128, allocations: 330.7 kB / 0.7214 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.2128, allocations: 12 kB / 0.7215 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.2129, allocations: 15.98 kB / 0.7215 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.213, allocations: 32.84 kB / 0.7215 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.213, allocations: 0 / 0.7215 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001467/0.2131, allocations: 65.62 kB / 0.7216 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2131, allocations: 8 kB / 0.7216 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2131, allocations: 0 / 0.7216 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2131, allocations: 0 / 0.7216 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.2132, allocations: 7.938 kB / 0.7216 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2132, allocations: 0 / 0.7216 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.2133, allocations: 11.98 kB / 0.7216 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2133, allocations: 7.938 kB / 0.7216 GB, free: 7.012 MB / 0.6198 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 0.000103/0.2134, allocations: 117.8 kB / 0.7217 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.2134, allocations: 7.953 kB / 0.7217 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.2135, allocations: 8.344 kB / 0.7217 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2135, allocations: 0 / 0.7217 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2135, allocations: 0 / 0.7217 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2135, allocations: 0 / 0.7217 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.2137, allocations: 156.6 kB / 0.7219 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2137, allocations: 0 / 0.7219 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.2137, allocations: 11.98 kB / 0.7219 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2137, allocations: 0 / 0.7219 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.2137, allocations: 0 / 0.7219 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2137, allocations: 0 / 0.7219 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2137, allocations: 4 kB / 0.7219 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.214, allocations: 167.7 kB / 0.7221 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.214, allocations: 3.953 kB / 0.7221 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.214, allocations: 0 / 0.7221 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2141, allocations: 12.03 kB / 0.7221 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.2141, allocations: 15.97 kB / 0.7221 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2141, allocations: 4 kB / 0.7221 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.627e-05/0.2142, allocations: 113.2 kB / 0.7222 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2142, allocations: 0 / 0.7222 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000219/0.2145, allocations: 4 kB / 0.7222 GB, free: 6.328 MB / 0.6198 GB 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.0005504/0.215, allocations: 0.689 MB / 0.7229 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.2152, allocations: 43.78 kB / 0.7229 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2152, allocations: 4 kB / 0.7229 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.2152, allocations: 12 kB / 0.7229 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2155, allocations: 8 kB / 0.7229 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2173, allocations: 1.38 MB / 0.7243 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.2174, allocations: 79.02 kB / 0.7244 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.497e-05/0.2175, allocations: 11.98 kB / 0.7244 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.186e-05/0.2176, allocations: 28.48 kB / 0.7244 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2176, allocations: 0 / 0.7244 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.2497, allocations: 2.68 MB / 0.727 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.44, allocations: 8.562 kB / 0.727 GB, free: 1.387 MB / 0.6198 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.443784767005127] Failed to read output from testmodel.py, exit status != 0: 11.545665330006159 11.574381033 11.359576734000001 Calling exit ...