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.001341/0.001341, allocations: 112.9 kB / 17.08 MB, free: 5.977 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.001353/0.001353, allocations: 190.8 kB / 20.03 MB, free: 3.047 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.566/1.566, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.113/1.113, allocations: 147.6 MB / 445.6 MB, free: 8.41 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.3416/0.3416, allocations: 63.36 kB / 0.6109 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.5445, allocations: 83.15 MB / 0.6921 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.003223/0.5478, allocations: 0.8121 MB / 0.6929 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.5506, allocations: 1.287 MB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.5508, allocations: 1.812 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.383e-05/0.5509, allocations: 11.88 kB / 0.6942 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.551, allocations: 21.56 kB / 0.6942 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.5524, allocations: 323.6 kB / 0.6945 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.5529, allocations: 312.3 kB / 0.6948 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.5531, allocations: 41.92 kB / 0.6948 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.5533, allocations: 114.7 kB / 0.695 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.5535, allocations: 106.6 kB / 0.6951 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.5536, allocations: 29.59 kB / 0.6951 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.5538, allocations: 45.39 kB / 0.6951 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.5538, allocations: 25.98 kB / 0.6952 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.554, allocations: 102.9 kB / 0.6952 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.5546, allocations: 262.3 kB / 0.6955 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5546, allocations: 1.125 kB / 0.6955 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5546, allocations: 0 / 0.6955 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5546, allocations: 4 kB / 0.6955 GB, free: 10.89 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.0008565/0.5555, allocations: 0.528 MB / 0.696 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5555, allocations: 10.16 kB / 0.696 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.5556, allocations: 37.16 kB / 0.6961 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.5557, allocations: 21.94 kB / 0.6961 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.5559, allocations: 183.1 kB / 0.6963 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.5559, allocations: 17.69 kB / 0.6963 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.5559, allocations: 19.44 kB / 0.6963 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.5561, allocations: 90.58 kB / 0.6964 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5561, allocations: 3.984 kB / 0.6964 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.5562, allocations: 5.312 kB / 0.6964 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5562, allocations: 1.25 kB / 0.6964 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.5563, allocations: 49.92 kB / 0.6964 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.5571, allocations: 0.4908 MB / 0.6969 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.5574, allocations: 75.02 kB / 0.697 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.5575, allocations: 26.42 kB / 0.697 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.5575, allocations: 1.344 kB / 0.697 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.5577, allocations: 122.3 kB / 0.6971 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.5577, allocations: 0 / 0.6971 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003562/0.5581, allocations: 165.6 kB / 0.6973 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.5581, allocations: 54.16 kB / 0.6973 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.5583, allocations: 169.6 kB / 0.6975 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.5583, allocations: 36.58 kB / 0.6975 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.5584, allocations: 112.3 kB / 0.6976 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.5585, allocations: 29.25 kB / 0.6977 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.5586, allocations: 69.42 kB / 0.6977 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5588, allocations: 327 kB / 0.6981 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.559, allocations: 97.44 kB / 0.6981 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.5592, allocations: 148.5 kB / 0.6983 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.5595, allocations: 256.8 kB / 0.6985 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5595, allocations: 0 / 0.6985 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006827/0.5602, allocations: 402.2 kB / 0.6989 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/0.5603, allocations: 102.6 kB / 0.699 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5604, allocations: 3.938 kB / 0.699 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5604, allocations: 4 kB / 0.699 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.5604, allocations: 16.12 kB / 0.699 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5605, allocations: 8 kB / 0.699 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.5609, allocations: 83.78 kB / 0.6991 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.561, allocations: 23.97 kB / 0.6991 GB, free: 7.496 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.0001425/0.5611, allocations: 137.8 kB / 0.6993 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.5612, allocations: 15.84 kB / 0.6993 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.5612, allocations: 16.84 kB / 0.6993 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5612, allocations: 0 / 0.6993 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5612, allocations: 3.984 kB / 0.6993 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5613, allocations: 0 / 0.6993 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.5615, allocations: 217.6 kB / 0.6995 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.5615, allocations: 3.938 kB / 0.6995 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.5616, allocations: 11.98 kB / 0.6995 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5616, allocations: 0 / 0.6995 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.5616, allocations: 11.94 kB / 0.6995 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5616, allocations: 0 / 0.6995 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5616, allocations: 0 / 0.6995 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.5618, allocations: 165 kB / 0.6997 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.5619, allocations: 92.94 kB / 0.6998 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.5619, allocations: 0 / 0.6998 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.562, allocations: 11.98 kB / 0.6998 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.562, allocations: 7.984 kB / 0.6998 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.562, allocations: 8 kB / 0.6998 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.5621, allocations: 122.5 kB / 0.6999 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5621, allocations: 0 / 0.6999 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002732/0.5624, allocations: 51.95 kB / 0.7 GB, free: 6.539 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.00061/0.563, allocations: 0.7099 MB / 0.7007 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.5636, allocations: 382 kB / 0.701 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5636, allocations: 0 / 0.701 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.5637, allocations: 51.48 kB / 0.7011 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.564, allocations: 23.92 kB / 0.7011 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.567, allocations: 2.264 MB / 0.7033 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5674, allocations: 0.7045 MB / 0.704 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.213e-05/0.5675, allocations: 16.64 kB / 0.704 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.5675, allocations: 35.42 kB / 0.7041 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.5676, allocations: 4 kB / 0.7041 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.5972, allocations: 4.211 MB / 0.7082 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.789, allocations: 11.7 kB / 0.7082 GB, free: 14.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.384140755981207] Failed to read output from testmodel.py, exit status != 0: 8.8557295340579 8.870168627 8.31297741 Calling exit ...