Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009338/0.0009338, allocations: 76.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001168/0.001168, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.9289/0.9289, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5878/0.5878, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.621e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001243/0.00126, allocations: 0.7827 MB / 0.555 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009449/0.002204, allocations: 0.9093 MB / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.002305, allocations: 0 / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.002431, allocations: 15.86 kB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.194e-05/0.002463, allocations: 7.875 kB / 0.5559 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.002661, allocations: 39.83 kB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.00276, allocations: 75.72 kB / 0.556 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.002865, allocations: 19.98 kB / 0.5561 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.002987, allocations: 47.89 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.003046, allocations: 27.86 kB / 0.5561 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.003063, allocations: 4 kB / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.668e-05/0.003099, allocations: 11.98 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.003114, allocations: 11.98 kB / 0.5562 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.003138, allocations: 19.92 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003264, allocations: 83.67 kB / 0.5563 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.003266, allocations: 4 kB / 0.5563 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003267, allocations: 0 / 0.5563 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003271, allocations: 0 / 0.5563 GB, free: 0.6211 MB / 0.5105 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.0003928/0.003664, allocations: 316.2 kB / 0.5566 GB, free: 288 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.003701, allocations: 12.03 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.00373, allocations: 38.69 kB / 0.5566 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.003832, allocations: 20.88 kB / 0.5566 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.003999, allocations: 141.6 kB / 0.5568 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.00401, allocations: 8.375 kB / 0.5568 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.004022, allocations: 8.312 kB / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.00414, allocations: 62.23 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.004148, allocations: 192 / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.004158, allocations: 4.375 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.004164, allocations: 8.125 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.00423, allocations: 27.98 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.004565, allocations: 279.7 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.004663, allocations: 46.56 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.004698, allocations: 25.09 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.004712, allocations: 3.938 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.004728, allocations: 30.56 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004729, allocations: 0 / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001725/0.004902, allocations: 77.61 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.004929, allocations: 55.39 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.005, allocations: 132.2 kB / 0.5575 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.005012, allocations: 33.7 kB / 0.5575 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.005057, allocations: 96.09 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.005068, allocations: 7.953 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.005096, allocations: 21.7 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.00517, allocations: 326.8 kB / 0.558 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.0052, allocations: 12 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.005225, allocations: 19.92 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.005274, allocations: 24.84 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005276, allocations: 0 / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.812e-05/0.005354, allocations: 69.62 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.005365, allocations: 4 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.005369, allocations: 4 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.00538, allocations: 0 / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.005423, allocations: 4 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.005427, allocations: 0 / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.005462, allocations: 15.92 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005466, allocations: 3.938 kB / 0.5581 GB, free: 14.53 MB / 0.5261 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.735e-05/0.005524, allocations: 121.7 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.005539, allocations: 7.953 kB / 0.5582 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.00556, allocations: 20.33 kB / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005562, allocations: 0 / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.005565, allocations: 0 / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.005567, allocations: 0 / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.005677, allocations: 152.7 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005677, allocations: 0 / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.005694, allocations: 4 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.005694, allocations: 0 / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.005702, allocations: 7.984 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005703, allocations: 0 / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.005704, allocations: 4 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.005936, allocations: 167.4 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.005946, allocations: 7.938 kB / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.005958, allocations: 0 / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-05/0.006006, allocations: 7.984 kB / 0.5586 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.006041, allocations: 11.98 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006044, allocations: 0 / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.006086, allocations: 105.8 kB / 0.5587 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006086, allocations: 0 / 0.5587 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001529/0.006239, allocations: 11.95 kB / 0.5587 GB, free: 13.84 MB / 0.5261 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.0002639/0.006503, allocations: 0.6933 MB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.618e-05/0.006599, allocations: 39.91 kB / 0.5594 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006601, allocations: 0 / 0.5594 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.00663, allocations: 19.98 kB / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.006811, allocations: 8 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.007727, allocations: 1.372 MB / 0.5608 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.00777, allocations: 75.33 kB / 0.5609 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.007803, allocations: 7.984 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.007847, allocations: 28.48 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/0.007848, allocations: 0 / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02306, allocations: 2.702 MB / 0.5636 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.774, allocations: 14.55 kB / 0.5636 GB, free: 8.922 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.307758492417634] Failed to read output from testmodel.py, exit status != 0: 6.856803531758487 6.8682106019999996 6.863082461 Calling exit ...