Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.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.001258/0.001258, allocations: 105.5 kB / 17.07 MB, free: 5.969 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.001314/0.001314, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.455/1.455, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.139/1.139, allocations: 147.6 MB / 445.5 MB, free: 8.25 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.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2566/0.2566, allocations: 70.22 kB / 0.611 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.4184, allocations: 83.16 MB / 0.6922 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.002059/0.4205, allocations: 0.6878 MB / 0.6928 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.4218, allocations: 0.8052 MB / 0.6936 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.4218, allocations: 1.969 kB / 0.6936 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.4219, allocations: 7.922 kB / 0.6936 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.422, allocations: 3.938 kB / 0.6936 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.4221, allocations: 14.42 kB / 0.6936 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.4222, allocations: 46.42 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4223, allocations: 7.547 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.4224, allocations: 20.08 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.4225, allocations: 19.17 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4226, allocations: 3.25 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.4226, allocations: 3.875 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.4226, allocations: 14.53 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.4227, allocations: 22.5 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.4228, allocations: 44.97 kB / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4228, allocations: 0 / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4228, allocations: 0 / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4228, allocations: 0 / 0.6938 GB, free: 12.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006575/0.4235, allocations: 360.4 kB / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4235, allocations: 10.09 kB / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.4236, allocations: 31.84 kB / 0.6942 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.4236, allocations: 10.45 kB / 0.6942 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.4238, allocations: 172.6 kB / 0.6944 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.4238, allocations: 384 / 0.6944 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4238, allocations: 1.625 kB / 0.6944 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.4241, allocations: 71.27 kB / 0.6944 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4241, allocations: 9.312 kB / 0.6945 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.4242, allocations: 3.938 kB / 0.6945 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4242, allocations: 0.5312 kB / 0.6945 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.4245, allocations: 67.86 kB / 0.6945 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4249, allocations: 270.5 kB / 0.6948 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.4251, allocations: 49.02 kB / 0.6948 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.4253, allocations: 42.97 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4253, allocations: 5.094 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4254, allocations: 34.56 kB / 0.6949 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4254, allocations: 0.9375 kB / 0.6949 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005716/0.426, allocations: 129.5 kB / 0.695 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.426, allocations: 53.09 kB / 0.6951 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4261, allocations: 106.7 kB / 0.6952 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4262, allocations: 27.61 kB / 0.6952 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.4262, allocations: 94.16 kB / 0.6953 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.4263, allocations: 7.891 kB / 0.6953 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.4263, allocations: 17.69 kB / 0.6953 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4265, allocations: 318.8 kB / 0.6956 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.4266, allocations: 33.06 kB / 0.6957 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.4268, allocations: 34.42 kB / 0.6957 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.4271, allocations: 70.64 kB / 0.6958 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4271, allocations: 1.281 kB / 0.6958 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003391/0.4274, allocations: 101.2 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4275, allocations: 4.5 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4275, allocations: 1.641 kB / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4275, allocations: 0 / 0.6959 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4276, allocations: 18.83 kB / 0.6959 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4276, allocations: 0 / 0.6959 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.4277, allocations: 14.61 kB / 0.6959 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4277, allocations: 5.406 kB / 0.6959 GB, free: 10.01 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.659e-05/0.4278, allocations: 117.7 kB / 0.696 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.4279, allocations: 5.484 kB / 0.696 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.4283, allocations: 109.3 kB / 0.6961 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4283, allocations: 0 / 0.6961 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4283, allocations: 0 / 0.6961 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4283, allocations: 1.844 kB / 0.6961 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.4286, allocations: 168.8 kB / 0.6963 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4286, allocations: 0 / 0.6963 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.86e-05/0.4287, allocations: 22.69 kB / 0.6963 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4287, allocations: 0 / 0.6963 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4287, allocations: 1.812 kB / 0.6963 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4287, allocations: 4 kB / 0.6963 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4287, allocations: 3.938 kB / 0.6963 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.4291, allocations: 200.4 kB / 0.6965 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.4292, allocations: 82.47 kB / 0.6966 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.4292, allocations: 0 / 0.6966 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4293, allocations: 14.86 kB / 0.6966 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4294, allocations: 2.75 kB / 0.6966 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4294, allocations: 0 / 0.6966 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.4294, allocations: 90.45 kB / 0.6967 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.104e-06/0.4294, allocations: 0 / 0.6967 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002131/0.4297, allocations: 10.81 kB / 0.6967 GB, free: 9.215 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: 0 () * Number of discrete states: 0 () * 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.0008747/0.4305, allocations: 0.7335 MB / 0.6974 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.4309, allocations: 71.8 kB / 0.6975 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4309, allocations: 0 / 0.6975 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4311, allocations: 36.59 kB / 0.6975 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.4315, allocations: 8.109 kB / 0.6975 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.432, allocations: 159.8 kB / 0.6977 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.4325, allocations: 0.6835 MB / 0.6983 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.4325, allocations: 1.375 kB / 0.6983 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.4326, allocations: 12.81 kB / 0.6984 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.4326, allocations: 0 / 0.6984 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.4552, allocations: 1.619 MB / 0.6999 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.547, allocations: 6.375 kB / 0.6999 GB, free: 6.672 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max_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_Reals_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.203593587037176] Failed to read output from testmodel.py, exit status != 0: 8.611500499071553 8.626094239 8.200212399 Calling exit ...