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.001341/0.001341, allocations: 108.1 kB / 17.07 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.001339/0.001339, allocations: 193.2 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.472/1.472, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.103/1.103, allocations: 147.6 MB / 445.6 MB, free: 8.242 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.3167/0.3167, allocations: 58.83 kB / 0.6109 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.4641, allocations: 83.17 MB / 0.6921 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001712/0.4659, allocations: 0.6775 MB / 0.6928 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.4676, allocations: 1.261 MB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.4676, allocations: 1.031 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.4677, allocations: 7.875 kB / 0.694 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.4678, allocations: 13.64 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.4686, allocations: 314.5 kB / 0.6943 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.469, allocations: 269.5 kB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.4691, allocations: 11.69 kB / 0.6946 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.4692, allocations: 115.8 kB / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.4694, allocations: 87.3 kB / 0.6948 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.4694, allocations: 26.72 kB / 0.6948 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.4695, allocations: 36.77 kB / 0.6949 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.4696, allocations: 13.84 kB / 0.6949 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.4697, allocations: 86.55 kB / 0.695 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.47, allocations: 215.6 kB / 0.6952 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.47, allocations: 0 / 0.6952 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.47, allocations: 1.406 kB / 0.6952 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.47, allocations: 0 / 0.6952 GB, free: 11.15 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.0006197/0.4706, allocations: 0.4891 MB / 0.6956 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4707, allocations: 9.625 kB / 0.6956 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.4707, allocations: 36.12 kB / 0.6957 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.4708, allocations: 15.89 kB / 0.6957 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4709, allocations: 180.3 kB / 0.6959 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4709, allocations: 7.25 kB / 0.6959 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.471, allocations: 16.75 kB / 0.6959 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4711, allocations: 63.72 kB / 0.696 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4711, allocations: 0 / 0.696 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4712, allocations: 5.375 kB / 0.696 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4712, allocations: 1.375 kB / 0.696 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.4712, allocations: 18.98 kB / 0.696 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.4718, allocations: 420.6 kB / 0.6964 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.4719, allocations: 28.2 kB / 0.6964 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.4719, allocations: 25.19 kB / 0.6964 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.4719, allocations: 1.375 kB / 0.6964 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.4721, allocations: 100.2 kB / 0.6965 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.4721, allocations: 1.375 kB / 0.6965 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003025/0.4724, allocations: 136.9 kB / 0.6967 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.4725, allocations: 58.16 kB / 0.6967 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.4726, allocations: 143.6 kB / 0.6968 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.4727, allocations: 31.2 kB / 0.6969 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.4728, allocations: 107.3 kB / 0.697 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.4728, allocations: 20.08 kB / 0.697 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4729, allocations: 66.67 kB / 0.6971 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4731, allocations: 324.1 kB / 0.6974 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.4733, allocations: 94.64 kB / 0.6975 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.4735, allocations: 136.7 kB / 0.6976 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.4738, allocations: 234.7 kB / 0.6978 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4739, allocations: 0 / 0.6978 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006768/0.4745, allocations: 380.9 kB / 0.6982 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.4746, allocations: 96.88 kB / 0.6983 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4746, allocations: 2.688 kB / 0.6983 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4747, allocations: 1.25 kB / 0.6983 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.719e-05/0.4747, allocations: 16.27 kB / 0.6983 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4747, allocations: 1.156 kB / 0.6983 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.4752, allocations: 83.69 kB / 0.6984 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.4753, allocations: 22.36 kB / 0.6984 GB, free: 8.223 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.0001272/0.4754, allocations: 131.2 kB / 0.6985 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.4754, allocations: 7.953 kB / 0.6985 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.4755, allocations: 16.36 kB / 0.6985 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4755, allocations: 4 kB / 0.6985 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4755, allocations: 0 / 0.6985 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4755, allocations: 0 / 0.6985 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.4757, allocations: 193.5 kB / 0.6987 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4757, allocations: 0 / 0.6987 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.4757, allocations: 11.98 kB / 0.6987 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4757, allocations: 0 / 0.6987 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.4757, allocations: 0 / 0.6987 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4757, allocations: 4 kB / 0.6987 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4757, allocations: 0 / 0.6987 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4759, allocations: 140.9 kB / 0.6989 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.476, allocations: 85.06 kB / 0.699 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.476, allocations: 4 kB / 0.699 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.476e-05/0.4761, allocations: 4 kB / 0.699 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.4761, allocations: 7.984 kB / 0.699 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.4761, allocations: 4 kB / 0.699 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.4762, allocations: 95.27 kB / 0.6991 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4762, allocations: 3.938 kB / 0.6991 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002699/0.4765, allocations: 55.92 kB / 0.6991 GB, free: 7.371 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.0005969/0.4771, allocations: 0.6826 MB / 0.6998 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005867/0.4777, allocations: 358.1 kB / 0.7001 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4777, allocations: 384 / 0.7001 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.4778, allocations: 47.92 kB / 0.7002 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.478, allocations: 21.23 kB / 0.7002 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.4808, allocations: 2.048 MB / 0.7022 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4812, allocations: 0.6924 MB / 0.7029 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.4812, allocations: 16.41 kB / 0.7029 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.4813, allocations: 23.44 kB / 0.7029 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4813, allocations: 288 / 0.7029 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.5086, allocations: 3.801 MB / 0.7066 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.478, allocations: 20.27 kB / 0.7066 GB, free: 15.55 MB / 0.5294 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.020764098037034] Failed to read output from testmodel.py, exit status != 0: 8.54978585196659 8.568354473 8.095656061 Calling exit ...