Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001321/0.001326, allocations: 104.3 kB / 17.07 MB, free: 5.965 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.001384/0.001384, allocations: 193.2 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.495/1.495, allocations: 222.9 MB / 245.7 MB, free: 4.199 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.098/1.098, allocations: 147.6 MB / 445.6 MB, free: 8.543 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.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.91 kB / 0.6109 GB, free: 92 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.393, allocations: 83.15 MB / 0.6921 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001885/0.3949, allocations: 0.6745 MB / 0.6928 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3967, allocations: 1.266 MB / 0.694 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.3968, allocations: 1.406 kB / 0.694 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.3968, allocations: 3.938 kB / 0.694 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.3969, allocations: 18.27 kB / 0.694 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.3978, allocations: 313.2 kB / 0.6943 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.3981, allocations: 270.2 kB / 0.6946 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.3982, allocations: 15.05 kB / 0.6946 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.3983, allocations: 107.8 kB / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3985, allocations: 88.17 kB / 0.6948 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.3985, allocations: 21.94 kB / 0.6948 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.3986, allocations: 36.73 kB / 0.6948 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.3987, allocations: 21.14 kB / 0.6949 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3988, allocations: 86.8 kB / 0.6949 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.3991, allocations: 215.9 kB / 0.6952 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3991, allocations: 1.188 kB / 0.6952 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3991, allocations: 3.938 kB / 0.6952 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3991, allocations: 0 / 0.6952 GB, free: 11.26 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.0006272/0.3997, allocations: 497.7 kB / 0.6956 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3998, allocations: 9.812 kB / 0.6956 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.3998, allocations: 32.09 kB / 0.6957 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.3999, allocations: 19.31 kB / 0.6957 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4, allocations: 180.7 kB / 0.6959 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.4001, allocations: 10.91 kB / 0.6959 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.4001, allocations: 13.12 kB / 0.6959 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4002, allocations: 63.5 kB / 0.6959 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4002, allocations: 0 / 0.6959 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4003, allocations: 5.078 kB / 0.696 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4003, allocations: 1.25 kB / 0.696 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.315e-05/0.4003, allocations: 17.78 kB / 0.696 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.4009, allocations: 422.2 kB / 0.6964 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.965e-05/0.401, allocations: 32.44 kB / 0.6964 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.4011, allocations: 20.47 kB / 0.6964 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.4011, allocations: 1.688 kB / 0.6964 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.4012, allocations: 108.2 kB / 0.6965 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.4013, allocations: 1.406 kB / 0.6965 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0002973/0.4016, allocations: 141.2 kB / 0.6967 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.4016, allocations: 53.94 kB / 0.6967 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4017, allocations: 142.4 kB / 0.6969 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.4018, allocations: 34.83 kB / 0.6969 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.4019, allocations: 99.89 kB / 0.697 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.4019, allocations: 14.78 kB / 0.697 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.402, allocations: 67.3 kB / 0.6971 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4022, allocations: 329.5 kB / 0.6974 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.4024, allocations: 89.7 kB / 0.6975 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.4026, allocations: 142.4 kB / 0.6976 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.4029, allocations: 239.5 kB / 0.6978 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4029, allocations: 1.375 kB / 0.6978 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005961/0.4035, allocations: 375.3 kB / 0.6982 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.4036, allocations: 105.2 kB / 0.6983 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4036, allocations: 5.469 kB / 0.6983 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4036, allocations: 2.5 kB / 0.6983 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.367e-05/0.4037, allocations: 7.75 kB / 0.6983 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4037, allocations: 2.438 kB / 0.6983 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.4042, allocations: 78.5 kB / 0.6984 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.4042, allocations: 18.08 kB / 0.6984 GB, free: 8.34 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001372/0.4044, allocations: 140.1 kB / 0.6985 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.4044, allocations: 8.797 kB / 0.6985 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.4044, allocations: 9.938 kB / 0.6985 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4045, allocations: 5.312 kB / 0.6985 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4045, allocations: 0 / 0.6985 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4045, allocations: 0 / 0.6985 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.4047, allocations: 194.7 kB / 0.6987 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4047, allocations: 0 / 0.6987 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.4047, allocations: 5.156 kB / 0.6987 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4047, allocations: 1.188 kB / 0.6987 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4047, allocations: 1.25 kB / 0.6987 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4047, allocations: 1.188 kB / 0.6987 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4047, allocations: 0 / 0.6987 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.4049, allocations: 147.5 kB / 0.6989 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.405, allocations: 81.06 kB / 0.699 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.405, allocations: 0 / 0.699 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.4051, allocations: 11.98 kB / 0.699 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.4051, allocations: 8 kB / 0.699 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4051, allocations: 7.984 kB / 0.699 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.4052, allocations: 101.8 kB / 0.6991 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4052, allocations: 0 / 0.6991 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002526/0.4055, allocations: 39.94 kB / 0.6991 GB, free: 7.566 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005864/0.4061, allocations: 0.6943 MB / 0.6998 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005095/0.4066, allocations: 362 kB / 0.7001 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.4066, allocations: 4 kB / 0.7001 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.4067, allocations: 35.92 kB / 0.7002 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.407, allocations: 30.23 kB / 0.7002 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.4097, allocations: 2.044 MB / 0.7022 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.4102, allocations: 0.6963 MB / 0.7029 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.4103, allocations: 8.422 kB / 0.7029 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.4103, allocations: 27.42 kB / 0.7029 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.4104, allocations: 4 kB / 0.7029 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.4373, allocations: 3.801 MB / 0.7066 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.429, allocations: 8.047 kB / 0.7066 GB, free: 15.74 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.119166119024158] Failed to read output from testmodel.py, exit status != 0: 8.49965391214937 8.527138283 8.123377405 Calling exit ...