Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001288/0.001288, allocations: 111.6 kB / 17.08 MB, free: 5.988 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.001458/0.001459, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.504/1.504, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.107/1.107, allocations: 147.6 MB / 445.6 MB, free: 8.262 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.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2842/0.2842, allocations: 61.7 kB / 0.6109 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.4403, allocations: 83.15 MB / 0.6921 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002349/0.4427, allocations: 0.8167 MB / 0.6929 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.4446, allocations: 1.283 MB / 0.6942 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.4446, allocations: 7.125 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.4447, allocations: 11.81 kB / 0.6942 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.4448, allocations: 21.66 kB / 0.6942 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008808/0.4457, allocations: 326.9 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.4461, allocations: 311 kB / 0.6948 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.4462, allocations: 38.27 kB / 0.6948 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4464, allocations: 115.6 kB / 0.695 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.4466, allocations: 109.8 kB / 0.6951 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.4466, allocations: 30.12 kB / 0.6951 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.4467, allocations: 36.98 kB / 0.6951 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.4468, allocations: 29.36 kB / 0.6952 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4469, allocations: 99.3 kB / 0.6952 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.4473, allocations: 267.7 kB / 0.6955 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4473, allocations: 0 / 0.6955 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4473, allocations: 0 / 0.6955 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.4473, allocations: 0 / 0.6955 GB, free: 10.88 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007205/0.4481, allocations: 0.5291 MB / 0.696 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4481, allocations: 8.25 kB / 0.696 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.207e-05/0.4482, allocations: 42.88 kB / 0.6961 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.4482, allocations: 21.22 kB / 0.6961 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4484, allocations: 185 kB / 0.6963 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.4484, allocations: 16.19 kB / 0.6963 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.4485, allocations: 20.5 kB / 0.6963 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4487, allocations: 92.06 kB / 0.6964 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4487, allocations: 0 / 0.6964 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4487, allocations: 1.375 kB / 0.6964 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.4487, allocations: 1.375 kB / 0.6964 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.4488, allocations: 46.11 kB / 0.6964 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.4495, allocations: 0.497 MB / 0.6969 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.4498, allocations: 67.41 kB / 0.697 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.4499, allocations: 30.31 kB / 0.697 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.4499, allocations: 1.469 kB / 0.697 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.4501, allocations: 126.2 kB / 0.6971 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.4501, allocations: 0 / 0.6971 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003472/0.4504, allocations: 166.9 kB / 0.6973 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4505, allocations: 58.91 kB / 0.6973 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4507, allocations: 161.3 kB / 0.6975 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.4507, allocations: 38.81 kB / 0.6975 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.4508, allocations: 105.6 kB / 0.6976 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.4509, allocations: 40.41 kB / 0.6977 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.4511, allocations: 73.58 kB / 0.6977 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4512, allocations: 322.9 kB / 0.6981 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.4515, allocations: 96.94 kB / 0.6981 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.4517, allocations: 145.5 kB / 0.6983 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.4521, allocations: 251.3 kB / 0.6985 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4521, allocations: 0 / 0.6985 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006702/0.4528, allocations: 407.2 kB / 0.6989 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/0.4529, allocations: 105.1 kB / 0.699 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4529, allocations: 7.938 kB / 0.699 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4529, allocations: 0 / 0.699 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.453, allocations: 19.94 kB / 0.699 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.453, allocations: 0 / 0.699 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.4535, allocations: 87.98 kB / 0.6991 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.4535, allocations: 19.98 kB / 0.6991 GB, free: 7.516 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001334/0.4537, allocations: 137 kB / 0.6993 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.4537, allocations: 19.84 kB / 0.6993 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.4537, allocations: 12.84 kB / 0.6993 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4538, allocations: 7.984 kB / 0.6993 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4538, allocations: 4 kB / 0.6993 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4538, allocations: 3.984 kB / 0.6993 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.454, allocations: 213.6 kB / 0.6995 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.454, allocations: 3.938 kB / 0.6995 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.454, allocations: 8 kB / 0.6995 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4541, allocations: 3.984 kB / 0.6995 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4541, allocations: 4 kB / 0.6995 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4541, allocations: 4 kB / 0.6995 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4541, allocations: 0 / 0.6995 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.4543, allocations: 168.9 kB / 0.6997 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.4544, allocations: 92.94 kB / 0.6998 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.4544, allocations: 0 / 0.6998 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.4545, allocations: 4 kB / 0.6998 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4545, allocations: 11.98 kB / 0.6998 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4545, allocations: 11.98 kB / 0.6998 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.932e-05/0.4546, allocations: 115.2 kB / 0.6999 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4546, allocations: 0 / 0.6999 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002765/0.4549, allocations: 51.95 kB / 0.7 GB, free: 6.559 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0006174/0.4555, allocations: 0.7094 MB / 0.7007 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005366/0.4561, allocations: 386 kB / 0.701 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4561, allocations: 384 / 0.701 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.4562, allocations: 55.92 kB / 0.7011 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4565, allocations: 23.98 kB / 0.7011 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.4595, allocations: 2.259 MB / 0.7033 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4598, allocations: 0.7084 MB / 0.704 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.633e-05/0.4599, allocations: 12.64 kB / 0.704 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.46, allocations: 39.42 kB / 0.7041 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.46, allocations: 0 / 0.7041 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.4863, allocations: 4.212 MB / 0.7082 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.44, allocations: 13.83 kB / 0.7082 GB, free: 14.04 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.134057095041499] Failed to read output from testmodel.py, exit status != 0: 8.507233519107103 8.522490387 8.072067376 Calling exit ...