Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001665/0.001665, allocations: 107.2 kB / 17.07 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.001867/0.001867, allocations: 193.2 kB / 20.03 MB, free: 3.043 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.455/1.455, allocations: 222.9 MB / 245.7 MB, free: 4.188 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.094/1.094, allocations: 147.6 MB / 445.6 MB, free: 8.309 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.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 61.27 kB / 0.6109 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1482, allocations: 83.15 MB / 0.6921 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001769/0.15, allocations: 0.7047 MB / 0.6928 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1517, allocations: 1.234 MB / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.1518, allocations: 5.281 kB / 0.694 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.1519, allocations: 17.12 kB / 0.694 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.152, allocations: 18.38 kB / 0.694 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.1527, allocations: 231.8 kB / 0.6942 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.153, allocations: 250.9 kB / 0.6945 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1532, allocations: 40.16 kB / 0.6945 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1533, allocations: 102.2 kB / 0.6946 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1535, allocations: 81.67 kB / 0.6947 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.1535, allocations: 18.56 kB / 0.6947 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1536, allocations: 50.72 kB / 0.6948 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.1537, allocations: 37.03 kB / 0.6948 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1538, allocations: 81.05 kB / 0.6949 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1541, allocations: 240.9 kB / 0.6951 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1542, allocations: 0 / 0.6951 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1542, allocations: 1.469 kB / 0.6951 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1542, allocations: 0 / 0.6951 GB, free: 11.13 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000662/0.1548, allocations: 0.5029 MB / 0.6956 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1549, allocations: 8.812 kB / 0.6956 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.1549, allocations: 39.25 kB / 0.6956 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.155, allocations: 19.64 kB / 0.6957 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.1556, allocations: 270.2 kB / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1556, allocations: 7.25 kB / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.1557, allocations: 18.12 kB / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1559, allocations: 143.6 kB / 0.6961 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1559, allocations: 0 / 0.6961 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1559, allocations: 5.375 kB / 0.6961 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1559, allocations: 2.75 kB / 0.6961 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.156, allocations: 50.03 kB / 0.6961 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.1567, allocations: 0.671 MB / 0.6968 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.1568, allocations: 38.59 kB / 0.6968 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.1569, allocations: 17.84 kB / 0.6969 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.1569, allocations: 3.938 kB / 0.6969 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.157, allocations: 92.28 kB / 0.6969 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.157, allocations: 0 / 0.6969 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0002457/0.1573, allocations: 101.9 kB / 0.697 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.1574, allocations: 82.42 kB / 0.6971 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1575, allocations: 173.5 kB / 0.6973 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1576, allocations: 33.83 kB / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1577, allocations: 127 kB / 0.6974 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.1577, allocations: 14.66 kB / 0.6975 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1578, allocations: 62.55 kB / 0.6975 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.158, allocations: 323 kB / 0.6978 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1581, allocations: 51.47 kB / 0.6979 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1583, allocations: 118.9 kB / 0.698 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.1585, allocations: 183.5 kB / 0.6982 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1585, allocations: 0 / 0.6982 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000448/0.159, allocations: 263.8 kB / 0.6984 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.159, allocations: 69.27 kB / 0.6985 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1591, allocations: 1.375 kB / 0.6985 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1591, allocations: 2.719 kB / 0.6985 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.207e-05/0.1591, allocations: 6.328 kB / 0.6985 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1591, allocations: 7.75 kB / 0.6985 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.1595, allocations: 80.06 kB / 0.6986 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.1596, allocations: 9.312 kB / 0.6986 GB, free: 7.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001276/0.1597, allocations: 142.3 kB / 0.6987 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.1597, allocations: 13.55 kB / 0.6987 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.1598, allocations: 15.94 kB / 0.6987 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1598, allocations: 1.406 kB / 0.6987 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1598, allocations: 4 kB / 0.6987 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1598, allocations: 1.375 kB / 0.6987 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.16, allocations: 206.8 kB / 0.6989 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.16, allocations: 1.719 kB / 0.6989 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.16, allocations: 1.219 kB / 0.6989 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.16, allocations: 0 / 0.6989 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.16, allocations: 6.672 kB / 0.699 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.16, allocations: 3.984 kB / 0.699 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.16, allocations: 5.156 kB / 0.699 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1602, allocations: 122.8 kB / 0.6991 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.1603, allocations: 85.06 kB / 0.6992 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1603, allocations: 4 kB / 0.6992 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.1603, allocations: 0 / 0.6992 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1603, allocations: 11.98 kB / 0.6992 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1604, allocations: 0 / 0.6992 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.1605, allocations: 126.6 kB / 0.6993 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1605, allocations: 3.938 kB / 0.6993 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002637/0.1607, allocations: 39.89 kB / 0.6993 GB, free: 7.078 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.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): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004924/0.1612, allocations: 0.6584 MB / 0.7 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1616, allocations: 234.7 kB / 0.7002 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1616, allocations: 4 kB / 0.7002 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.1617, allocations: 20.03 kB / 0.7002 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1619, allocations: 21.86 kB / 0.7002 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1642, allocations: 1.92 MB / 0.7021 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1646, allocations: 0.7119 MB / 0.7028 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.1646, allocations: 12.88 kB / 0.7028 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1647, allocations: 39.42 kB / 0.7029 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.014e-06/0.1647, allocations: 0 / 0.7029 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1898, allocations: 3.602 MB / 0.7064 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.035, allocations: 11.67 kB / 0.7064 GB, free: 15.75 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.94981795316562] Failed to read output from testmodel.py, exit status != 0: 8.336565754842013 8.135019126 7.976184273 Calling exit ...