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.0007689/0.0007689, allocations: 72.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.001015/0.001015, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8917/0.8917, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5727/0.5727, allocations: 114 MB / 373.9 MB, free: 8.703 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.245e-06/2.245e-06, allocations: 0 / 0.5543 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.837e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001563/0.001581, allocations: 0.7873 MB / 0.555 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.002474, allocations: 0.9094 MB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.002551, allocations: 3.938 kB / 0.5559 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.002661, allocations: 11.88 kB / 0.5559 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.137e-05/0.002692, allocations: 15.86 kB / 0.5559 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.002883, allocations: 31.89 kB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.002981, allocations: 75.72 kB / 0.5561 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.003089, allocations: 19.98 kB / 0.5561 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.003214, allocations: 51.83 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.003272, allocations: 19.92 kB / 0.5561 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.003288, allocations: 8 kB / 0.5561 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.968e-05/0.003327, allocations: 11.98 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.003343, allocations: 19.92 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.003364, allocations: 8 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.003496, allocations: 91.66 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003498, allocations: 0 / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003499, allocations: 0 / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003503, allocations: 0 / 0.5563 GB, free: 0.6055 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.0004164/0.003919, allocations: 314 kB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.00396, allocations: 16.62 kB / 0.5566 GB, free: 256 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.00399, allocations: 34.75 kB / 0.5566 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.004105, allocations: 20.88 kB / 0.5566 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.004308, allocations: 145.5 kB / 0.5568 GB, free: 20 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.004317, allocations: 384 / 0.5568 GB, free: 20 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.004328, allocations: 4.375 kB / 0.5568 GB, free: 16 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.004456, allocations: 62.23 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.004465, allocations: 192 / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.004474, allocations: 4.375 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.004482, allocations: 8.125 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.004551, allocations: 31.92 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.004933, allocations: 283.7 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.005042, allocations: 46.59 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.005073, allocations: 21 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.005087, allocations: 4 kB / 0.5572 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.005104, allocations: 30.56 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005105, allocations: 0 / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000171/0.005276, allocations: 85.55 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.005301, allocations: 51.41 kB / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.00537, allocations: 129.8 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.005382, allocations: 29.7 kB / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.005427, allocations: 100.1 kB / 0.5576 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.00544, allocations: 7.938 kB / 0.5576 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.005468, allocations: 21.7 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.005548, allocations: 326.8 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.005578, allocations: 15.98 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.005665, allocations: 15.98 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.005712, allocations: 24.84 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005714, allocations: 0 / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.556e-05/0.00579, allocations: 69.58 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005801, allocations: 6.188 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005806, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.005818, allocations: 7.984 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.005866, allocations: 4 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.005871, allocations: 3.938 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.005906, allocations: 15.98 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.005911, allocations: 0 / 0.5581 GB, free: 14.51 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 6.573e-05/0.005977, allocations: 117.8 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.00599, allocations: 7.953 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.006014, allocations: 16.33 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006016, allocations: 0 / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.006021, allocations: 8 kB / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006024, allocations: 0 / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.006131, allocations: 144.7 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006131, allocations: 0 / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.006148, allocations: 4 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.006149, allocations: 0 / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.006157, allocations: 4 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006158, allocations: 0 / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.00616, allocations: 3.984 kB / 0.5584 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.83e-05/0.006258, allocations: 159.4 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.006269, allocations: 11.92 kB / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.006284, allocations: 4 kB / 0.5586 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.006332, allocations: 15.92 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.006374, allocations: 7.984 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.006377, allocations: 0 / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.006421, allocations: 103.3 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.006421, allocations: 0 / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001443/0.006566, allocations: 11.95 kB / 0.5587 GB, free: 13.83 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.0003145/0.00688, allocations: 0.701 MB / 0.5594 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.006986, allocations: 31.98 kB / 0.5594 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006987, allocations: 0 / 0.5594 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.007017, allocations: 19.98 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.007204, allocations: 8 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.008224, allocations: 1.372 MB / 0.5608 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.639e-05/0.008271, allocations: 75.33 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.008299, allocations: 7.984 kB / 0.5609 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.008342, allocations: 24.5 kB / 0.5609 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of SimCode: time 8.71e-07/0.008343, allocations: 0 / 0.5609 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.02325, allocations: 2.716 MB / 0.5636 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.315, allocations: 16.83 kB / 0.5636 GB, free: 8.898 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.881477980874479] Failed to read output from testmodel.py, exit status != 0: 7.398773550055921 7.40943552 7.403958132 Calling exit ...