Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0007471/0.0007471, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007624/0.0007624, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.873/0.873, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7103/0.7103, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.399e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001531/0.001555, allocations: 0.688 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008656/0.002421, allocations: 0.8548 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.002458, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.002489, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.002569, allocations: 7.938 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.002723, allocations: 15.98 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.523e-05/0.002808, allocations: 51.83 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.002919, allocations: 15.94 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.003007, allocations: 27.97 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.003061, allocations: 19.91 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.003088, allocations: 8 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.003098, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.003118, allocations: 7.984 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.003144, allocations: 15.94 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.003246, allocations: 47.84 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00325, allocations: 3.984 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.753e-06/0.003251, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.003256, allocations: 7.938 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004237/0.00368, allocations: 282.3 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.00373, allocations: 8.031 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.003764, allocations: 30.75 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.003793, allocations: 12.89 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.003902, allocations: 109.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.00392, allocations: 4.375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.00393, allocations: 4.375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.004081, allocations: 69.95 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.004089, allocations: 0 / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004098, allocations: 4 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004103, allocations: 4 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.00422, allocations: 59.88 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.004573, allocations: 247.9 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.004706, allocations: 66.53 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.004764, allocations: 32.91 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.004781, allocations: 3.938 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.004798, allocations: 38.5 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.004799, allocations: 0 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002657/0.005065, allocations: 105.6 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.005097, allocations: 51.41 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.00517, allocations: 113.8 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.005182, allocations: 25.7 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.005226, allocations: 84.14 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.005245, allocations: 15.88 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.005278, allocations: 21.72 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.005368, allocations: 322.8 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.005426, allocations: 19.98 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.005477, allocations: 31.91 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.00558, allocations: 48.81 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005582, allocations: 0 / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/0.005725, allocations: 89.61 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.005741, allocations: 4 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005746, allocations: 3.938 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.005759, allocations: 0 / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.852e-05/0.005848, allocations: 11.98 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.005852, allocations: 0 / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.005893, allocations: 11.98 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.005899, allocations: 3.938 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.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.644e-05/0.005965, allocations: 122.8 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.00598, allocations: 7.953 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.006003, allocations: 8 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006005, allocations: 0 / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.00601, allocations: 0 / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006013, allocations: 0 / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.006141, allocations: 148.7 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006143, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.006185, allocations: 11.98 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.006186, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.006195, allocations: 4 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006196, allocations: 0 / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006197, allocations: 4 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.006372, allocations: 187.7 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.006383, allocations: 3.953 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.006396, allocations: 4 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.006443, allocations: 8.031 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.006495, allocations: 15.97 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.0065, allocations: 4 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.006539, allocations: 83.27 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006539, allocations: 3.938 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001517/0.00669, allocations: 16 kB / 0.6223 GB, free: 9.07 MB / 0.5886 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003576/0.007048, allocations: 0.7046 MB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.007214, allocations: 59.88 kB / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007215, allocations: 0 / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.007276, allocations: 31.98 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.007534, allocations: 13.47 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.00859, allocations: 1.323 MB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.008661, allocations: 67.34 kB / 0.6245 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.008702, allocations: 8 kB / 0.6245 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.008756, allocations: 16.48 kB / 0.6245 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.008757, allocations: 4 kB / 0.6245 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.02485, allocations: 2.553 MB / 0.627 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/6.859, allocations: 5.125 kB / 0.627 GB, free: 4.324 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.44080997724086] Failed to read output from testmodel.py, exit status != 0: 6.938441247679293 6.946910605 6.941761966 Calling exit ...