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.0007832/0.0007832, 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.0007881/0.0007881, 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.8953/0.8953, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7324/0.7324, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.473e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001294/0.001309, allocations: 0.7895 MB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.002266, allocations: 0.9054 MB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.002363, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.002485, allocations: 11.81 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.002522, allocations: 19.86 kB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.002714, allocations: 31.91 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.002813, allocations: 75.77 kB / 0.62 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.00292, allocations: 23.97 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.003058, allocations: 55.83 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.003122, allocations: 19.86 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.00314, allocations: 8 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-05/0.00318, allocations: 8 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.003197, allocations: 15.91 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.003223, allocations: 23.94 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.00336, allocations: 87.66 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003362, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003363, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003366, allocations: 0 / 0.6202 GB, free: 11.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003876/0.003754, allocations: 312.6 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.003795, allocations: 12.02 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.003826, allocations: 38.75 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.003927, allocations: 16.88 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.004109, allocations: 149.6 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.004119, allocations: 8.375 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.004127, allocations: 384 / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.004235, allocations: 70.17 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.004242, allocations: 192 / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.00425, allocations: 384 / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004255, allocations: 4.125 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.004336, allocations: 31.98 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.004683, allocations: 279.8 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.004784, allocations: 42.56 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.004816, allocations: 21 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.004829, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.004849, allocations: 34.56 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.00485, allocations: 3.938 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001792/0.005029, allocations: 77.66 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.005059, allocations: 55.41 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.005141, allocations: 136 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005153, allocations: 25.7 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.005206, allocations: 100.1 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.00522, allocations: 11.89 kB / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.005256, allocations: 21.7 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.005338, allocations: 318.8 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.005369, allocations: 15.98 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.005395, allocations: 19.92 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.005443, allocations: 36.78 kB / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005444, allocations: 0 / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.807e-05/0.005522, allocations: 57.69 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.005534, allocations: 8 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005538, allocations: 0 / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.005548, allocations: 0 / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.005592, allocations: 7.984 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.005596, allocations: 0 / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.005631, allocations: 15.94 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005637, allocations: 8 kB / 0.622 GB, free: 9.449 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: 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 5.975e-05/0.005696, allocations: 114.8 kB / 0.6222 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.005712, allocations: 11.95 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.005731, allocations: 4.344 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005733, allocations: 4.312 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.005738, allocations: 3.938 kB / 0.6222 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.00574, allocations: 0 / 0.6222 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.005856, allocations: 160.6 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.005857, allocations: 4 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.005872, allocations: 8 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.005872, allocations: 0 / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.005879, allocations: 0 / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005879, allocations: 0 / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00588, allocations: 0 / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.944e-05/0.005979, allocations: 163.4 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.005988, allocations: 3.984 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.006, allocations: 3.938 kB / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.006048, allocations: 11.98 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.006084, allocations: 15.98 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.006087, allocations: 0 / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.006131, allocations: 103.3 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006131, allocations: 3.938 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001558/0.006287, allocations: 7.953 kB / 0.6226 GB, free: 8.766 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 (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.000277/0.006564, allocations: 0.6929 MB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.006658, allocations: 31.98 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.00666, allocations: 0 / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.006688, allocations: 23.92 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.006871, allocations: 10.19 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009377/0.007809, allocations: 1.373 MB / 0.6247 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.007862, allocations: 71.33 kB / 0.6248 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.00789, allocations: 8 kB / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.00794, allocations: 32.42 kB / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.00794, allocations: 0 / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02228, allocations: 2.701 MB / 0.6275 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.757, allocations: 5.5 kB / 0.6275 GB, free: 3.855 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.42466852068901] Failed to read output from testmodel.py, exit status != 0: 6.834108251146972 6.842523431 6.837608762 Calling exit ...