Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 111.2 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 190.8 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.09/1.09, allocations: 147.6 MB / 445.6 MB, free: 8.285 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2891/0.2891, allocations: 63.16 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.4211, allocations: 83.16 MB / 0.6921 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001828/0.423, allocations: 0.6999 MB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.4239, allocations: 0.828 MB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.424, allocations: 1.344 kB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.424, allocations: 0 / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.4241, allocations: 13.19 kB / 0.6936 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.4242, allocations: 23.67 kB / 0.6936 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.142e-05/0.4243, allocations: 54.12 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.4244, allocations: 10.94 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.4245, allocations: 22.47 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.4245, allocations: 26.59 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.4246, allocations: 4.5 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.4246, allocations: 4.406 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.4246, allocations: 5.094 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.4246, allocations: 24.39 kB / 0.6938 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.222e-05/0.4247, allocations: 48.03 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4248, allocations: 0 / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4248, allocations: 1.094 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.4248, allocations: 0 / 0.6938 GB, free: 12.03 MB / 0.5137 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.0005165/0.4253, allocations: 360.1 kB / 0.6942 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.4253, allocations: 12.53 kB / 0.6942 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.4254, allocations: 31.88 kB / 0.6942 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.4254, allocations: 7.234 kB / 0.6942 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4255, allocations: 163.6 kB / 0.6944 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4256, allocations: 18.39 kB / 0.6944 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4256, allocations: 6.188 kB / 0.6944 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.4258, allocations: 63.56 kB / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4258, allocations: 0 / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.4258, allocations: 1.438 kB / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4258, allocations: 3.938 kB / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.426, allocations: 54.97 kB / 0.6945 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.4265, allocations: 299.3 kB / 0.6948 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.4267, allocations: 60.92 kB / 0.6949 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4268, allocations: 34.19 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.4268, allocations: 0 / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4269, allocations: 39.97 kB / 0.6949 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4269, allocations: 0 / 0.6949 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0003901/0.4273, allocations: 101.1 kB / 0.695 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.4273, allocations: 56.78 kB / 0.6951 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.4274, allocations: 110.1 kB / 0.6952 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4274, allocations: 27.14 kB / 0.6952 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.4275, allocations: 90.08 kB / 0.6953 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.4275, allocations: 8.844 kB / 0.6953 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.4276, allocations: 18.03 kB / 0.6953 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4277, allocations: 320 kB / 0.6956 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4278, allocations: 20.86 kB / 0.6957 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.4279, allocations: 24.12 kB / 0.6957 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4281, allocations: 63.16 kB / 0.6957 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4281, allocations: 0 / 0.6957 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002316/0.4284, allocations: 80.42 kB / 0.6958 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.4284, allocations: 5.375 kB / 0.6958 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.4284, allocations: 0 / 0.6958 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.4284, allocations: 2.109 kB / 0.6958 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4285, allocations: 11.14 kB / 0.6958 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4285, allocations: 3.984 kB / 0.6958 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.4286, allocations: 13.41 kB / 0.6958 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4286, allocations: 10.2 kB / 0.6959 GB, free: 10.04 MB / 0.5137 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 8.47e-05/0.4287, allocations: 120 kB / 0.696 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.4287, allocations: 6.141 kB / 0.696 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.4288, allocations: 7.906 kB / 0.696 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4288, allocations: 1.688 kB / 0.696 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4288, allocations: 0 / 0.696 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4288, allocations: 0 / 0.696 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.429, allocations: 180.4 kB / 0.6962 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.429, allocations: 4 kB / 0.6962 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.4291, allocations: 15.64 kB / 0.6962 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4291, allocations: 0 / 0.6962 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4291, allocations: 5.156 kB / 0.6962 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4291, allocations: 1.438 kB / 0.6962 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4291, allocations: 0 / 0.6962 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.4294, allocations: 184.2 kB / 0.6964 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.4295, allocations: 90.31 kB / 0.6964 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.4295, allocations: 0 / 0.6964 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4296, allocations: 13.42 kB / 0.6965 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.4297, allocations: 12.11 kB / 0.6965 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.4297, allocations: 1.375 kB / 0.6965 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.4297, allocations: 96.69 kB / 0.6966 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4297, allocations: 0 / 0.6966 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002156/0.43, allocations: 6.875 kB / 0.6966 GB, free: 9.285 MB / 0.5137 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.0006201/0.4306, allocations: 0.7075 MB / 0.6973 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4308, allocations: 63.5 kB / 0.6973 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4309, allocations: 4 kB / 0.6973 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.431, allocations: 29.84 kB / 0.6974 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.4313, allocations: 6.75 kB / 0.6974 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4328, allocations: 1.316 MB / 0.6986 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4332, allocations: 0.6848 MB / 0.6993 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.141e-05/0.4332, allocations: 8.031 kB / 0.6993 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.4333, allocations: 18.17 kB / 0.6993 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4333, allocations: 1.375 kB / 0.6993 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.456, allocations: 1.841 MB / 0.7011 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.367, allocations: 4.062 kB / 0.7011 GB, free: 5.422 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.149194244062528] Failed to read output from testmodel.py, exit status != 0: 8.437590466812253 8.462624765 8.03376454 Calling exit ...