Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001299/0.001299, allocations: 107.2 kB / 17.07 MB, free: 6.078 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.001978/0.001978, allocations: 191.8 kB / 20.02 MB, free: 3.164 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.529/1.529, 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.11/1.11, allocations: 147.6 MB / 445.5 MB, free: 8.422 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.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.002179, allocations: 68.2 kB / 0.6109 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1631, allocations: 83.16 MB / 0.6922 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002767/0.1659, allocations: 0.7647 MB / 0.6929 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1681, allocations: 1.15 MB / 0.694 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1682, allocations: 1.188 kB / 0.694 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.1683, allocations: 3.938 kB / 0.694 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1684, allocations: 17.22 kB / 0.694 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.169, allocations: 140.7 kB / 0.6942 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.1693, allocations: 125.4 kB / 0.6943 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1694, allocations: 23.03 kB / 0.6943 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1696, allocations: 52.91 kB / 0.6944 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1697, allocations: 46.34 kB / 0.6944 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.1698, allocations: 10.25 kB / 0.6944 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1699, allocations: 30.38 kB / 0.6945 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.1699, allocations: 17.36 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.047e-05/0.17, allocations: 40.81 kB / 0.6945 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.1704, allocations: 116.1 kB / 0.6946 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1704, allocations: 1.156 kB / 0.6946 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.705e-06/0.1704, allocations: 4 kB / 0.6946 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.1704, allocations: 0 / 0.6946 GB, free: 11.4 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.0008699/0.1713, allocations: 425 kB / 0.695 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1714, allocations: 8.719 kB / 0.695 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.1714, allocations: 36.58 kB / 0.6951 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.1715, allocations: 10.83 kB / 0.6951 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1716, allocations: 179.9 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1717, allocations: 2.406 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1717, allocations: 15.94 kB / 0.6953 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.172, allocations: 77.83 kB / 0.6953 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.172, allocations: 4.688 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.172, allocations: 3.984 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.172, allocations: 1.531 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.1724, allocations: 75.02 kB / 0.6954 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1729, allocations: 329.7 kB / 0.6957 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1731, allocations: 52.06 kB / 0.6958 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1733, allocations: 41.73 kB / 0.6958 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.1733, allocations: 9.234 kB / 0.6958 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.1736, allocations: 94.88 kB / 0.6959 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.1736, allocations: 1.281 kB / 0.6959 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006549/0.1743, allocations: 170 kB / 0.6961 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.1744, allocations: 52.78 kB / 0.6961 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1745, allocations: 128.3 kB / 0.6963 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1745, allocations: 28.45 kB / 0.6963 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.1746, allocations: 92.33 kB / 0.6964 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.1747, allocations: 17.27 kB / 0.6964 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.1747, allocations: 31.45 kB / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.175, allocations: 328.1 kB / 0.6967 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.1752, allocations: 56.95 kB / 0.6968 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.1754, allocations: 84.83 kB / 0.6969 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.1758, allocations: 149.9 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1759, allocations: 1.375 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005956/0.1765, allocations: 207.2 kB / 0.6972 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.1765, allocations: 40.56 kB / 0.6973 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1765, allocations: 1.375 kB / 0.6973 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1765, allocations: 1.375 kB / 0.6973 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1767, allocations: 18.92 kB / 0.6973 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1767, allocations: 5.359 kB / 0.6973 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.177, allocations: 39.28 kB / 0.6973 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.177, allocations: 12.44 kB / 0.6973 GB, free: 8.945 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001139/0.1771, allocations: 123.2 kB / 0.6975 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1771, allocations: 8.078 kB / 0.6975 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.1772, allocations: 13.73 kB / 0.6975 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1772, allocations: 1.375 kB / 0.6975 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.1772, allocations: 4 kB / 0.6975 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1772, allocations: 3.938 kB / 0.6975 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.1775, allocations: 181.9 kB / 0.6977 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1775, allocations: 1.375 kB / 0.6977 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1776, allocations: 26.97 kB / 0.6977 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1776, allocations: 0 / 0.6977 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1776, allocations: 1.375 kB / 0.6977 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1776, allocations: 0 / 0.6977 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1776, allocations: 5.312 kB / 0.6977 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.178, allocations: 151.6 kB / 0.6978 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1781, allocations: 79.8 kB / 0.6979 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1781, allocations: 1.969 kB / 0.6979 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.1782, allocations: 13.7 kB / 0.6979 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1783, allocations: 6.922 kB / 0.6979 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1783, allocations: 3.094 kB / 0.6979 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.1784, allocations: 101.3 kB / 0.698 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1784, allocations: 4 kB / 0.698 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000231/0.1786, allocations: 24.7 kB / 0.6981 GB, free: 8.242 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008483/0.1795, allocations: 0.691 MB / 0.6987 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005515/0.18, allocations: 189.6 kB / 0.6989 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.18, allocations: 0 / 0.6989 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.1803, allocations: 44.47 kB / 0.699 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1805, allocations: 23.42 kB / 0.699 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.1831, allocations: 1.632 MB / 0.7006 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1834, allocations: 0.6884 MB / 0.7012 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.1835, allocations: 7.984 kB / 0.7013 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.1835, allocations: 23.44 kB / 0.7013 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1835, allocations: 0 / 0.7013 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2115, allocations: 2.665 MB / 0.7039 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.221, allocations: 7 kB / 0.7039 GB, free: 2.457 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.126004949910566] Failed to read output from testmodel.py, exit status != 0: 8.576385536929592 8.301372097 8.128074413 Calling exit ...