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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 116.3 kB / 17.84 MB, free: 5.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 203.2 kB / 20.8 MB, free: 2.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 230.6 MB / 254.2 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9927/0.9927, allocations: 150 MB / 460.2 MB, free: 5.223 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 66.91 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1659, allocations: 89.14 MB / 0.7239 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002169/0.1681, allocations: 0.8132 MB / 0.7247 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1702, allocations: 1.316 MB / 0.7259 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.1703, allocations: 8 kB / 0.7259 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.1704, allocations: 7.875 kB / 0.726 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1705, allocations: 23.78 kB / 0.726 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.1714, allocations: 323.3 kB / 0.7263 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.1718, allocations: 295.5 kB / 0.7266 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1719, allocations: 33.44 kB / 0.7266 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1721, allocations: 115.8 kB / 0.7267 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1723, allocations: 107.7 kB / 0.7268 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.1723, allocations: 24 kB / 0.7268 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.1724, allocations: 51.8 kB / 0.7269 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.1725, allocations: 23.92 kB / 0.7269 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1726, allocations: 103.7 kB / 0.727 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.1729, allocations: 263.4 kB / 0.7273 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1729, allocations: 0 / 0.7273 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1729, allocations: 4 kB / 0.7273 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1729, allocations: 0 / 0.7273 GB, free: 0.5391 MB / 0.5294 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.0008068/0.1737, allocations: 0.5273 MB / 0.7278 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1738, allocations: 12.03 kB / 0.7278 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.786e-05/0.1738, allocations: 192 / 0.7278 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.1738, allocations: 46.67 kB / 0.7278 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.1739, allocations: 20.84 kB / 0.7278 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1741, allocations: 180.6 kB / 0.728 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.1741, allocations: 15.98 kB / 0.728 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.1741, allocations: 24 kB / 0.7281 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1744, allocations: 89.59 kB / 0.7281 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1744, allocations: 0 / 0.7281 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1744, allocations: 8 kB / 0.7282 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1744, allocations: 11.88 kB / 0.7282 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.1745, allocations: 51.97 kB / 0.7282 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.1753, allocations: 488.5 kB / 0.7287 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1756, allocations: 78.66 kB / 0.7288 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.107e-05/0.1757, allocations: 20.86 kB / 0.7288 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1757, allocations: 7.938 kB / 0.7288 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.176, allocations: 111.2 kB / 0.7289 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.176, allocations: 4 kB / 0.7289 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0004265/0.1764, allocations: 173.6 kB / 0.7291 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1765, allocations: 55.41 kB / 0.7291 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1766, allocations: 170.9 kB / 0.7293 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.1767, allocations: 29.7 kB / 0.7293 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.1768, allocations: 112.1 kB / 0.7294 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1768, allocations: 23.84 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.177, allocations: 73.67 kB / 0.7295 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1771, allocations: 330.8 kB / 0.7298 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1773, allocations: 91.95 kB / 0.7299 GB, free: 13.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.1776, allocations: 149.8 kB / 0.73 GB, free: 13.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1779, allocations: 260.7 kB / 0.7303 GB, free: 13.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1779, allocations: 0 / 0.7303 GB, free: 13.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007033/0.1787, allocations: 414.2 kB / 0.7307 GB, free: 12.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1788, allocations: 97.72 kB / 0.7308 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1788, allocations: 192 / 0.7308 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1788, allocations: 8 kB / 0.7308 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.1788, allocations: 15.94 kB / 0.7308 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1789, allocations: 7.984 kB / 0.7308 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.1793, allocations: 79.8 kB / 0.7309 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.1794, allocations: 19.98 kB / 0.7309 GB, free: 12.45 MB / 0.545 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.000143/0.1795, allocations: 137.8 kB / 0.731 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1796, allocations: 15.84 kB / 0.7311 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.1796, allocations: 20.83 kB / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1796, allocations: 0 / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1796, allocations: 0 / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1796, allocations: 4 kB / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1799, allocations: 217.5 kB / 0.7313 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1799, allocations: 0 / 0.7313 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.1799, allocations: 19.92 kB / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1799, allocations: 0 / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1799, allocations: 8 kB / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1799, allocations: 0 / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1799, allocations: 0 / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1802, allocations: 167.6 kB / 0.7315 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.1803, allocations: 89.02 kB / 0.7316 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1803, allocations: 3.984 kB / 0.7316 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.1803, allocations: 8 kB / 0.7316 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1804, allocations: 11.98 kB / 0.7316 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1804, allocations: 8 kB / 0.7316 GB, free: 11.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.052e-05/0.1805, allocations: 111.2 kB / 0.7317 GB, free: 11.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1805, allocations: 0 / 0.7317 GB, free: 11.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002859/0.1808, allocations: 48 kB / 0.7317 GB, free: 11.5 MB / 0.545 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.0006931/0.1814, allocations: 0.7191 MB / 0.7324 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.182, allocations: 342 kB / 0.7328 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.182, allocations: 3.938 kB / 0.7328 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.1821, allocations: 47.97 kB / 0.7328 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1824, allocations: 37.38 kB / 0.7329 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.1854, allocations: 2.242 MB / 0.735 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1857, allocations: 0.7084 MB / 0.7357 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.302e-05/0.1858, allocations: 20.58 kB / 0.7358 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.1859, allocations: 39.42 kB / 0.7358 GB, free: 7.125 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.1859, allocations: 0 / 0.7358 GB, free: 7.125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.2068, allocations: 4.265 MB / 0.74 GB, free: 3.012 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.521/8.728, allocations: 8 kB / 0.74 GB, free: 3.004 MB / 0.545 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 os._exit(0), Time elapsed: 12.723132702987641] Failed to read output from testmodel.py, exit status != 0: 8.85880351101514 8.880970911 8.704047202 Calling exit ...