Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0017/0.0017, allocations: 108.8 kB / 17.07 MB, free: 5.965 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.001955/0.001955, allocations: 193.2 kB / 20.02 MB, free: 3.039 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.459/1.459, 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.074/1.074, allocations: 147.6 MB / 445.5 MB, free: 8.328 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.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.12 kB / 0.6109 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 83.15 MB / 0.6921 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00188/0.1443, allocations: 0.6071 MB / 0.6927 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1458, allocations: 1.11 MB / 0.6938 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.1459, allocations: 0 / 0.6938 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.065e-05/0.146, allocations: 5.469 kB / 0.6938 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.163e-05/0.146, allocations: 7.922 kB / 0.6938 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.1465, allocations: 131.4 kB / 0.6939 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1466, allocations: 97.55 kB / 0.694 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.1467, allocations: 3.875 kB / 0.694 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.1468, allocations: 37.52 kB / 0.694 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.1469, allocations: 41.17 kB / 0.6941 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1469, allocations: 6.094 kB / 0.6941 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.147, allocations: 19.17 kB / 0.6941 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.147, allocations: 7.312 kB / 0.6941 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.1471, allocations: 38.66 kB / 0.6941 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1473, allocations: 86.81 kB / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1473, allocations: 0 / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1473, allocations: 1.375 kB / 0.6942 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1473, allocations: 0 / 0.6942 GB, free: 11.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004656/0.1478, allocations: 377 kB / 0.6946 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1478, allocations: 13.62 kB / 0.6946 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1479, allocations: 40.06 kB / 0.6946 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1479, allocations: 5.062 kB / 0.6946 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1481, allocations: 185.8 kB / 0.6948 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1481, allocations: 3.125 kB / 0.6948 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1481, allocations: 5.875 kB / 0.6948 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1482, allocations: 47.88 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1483, allocations: 3.938 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1483, allocations: 0 / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1483, allocations: 1.375 kB / 0.6949 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.1483, allocations: 17.48 kB / 0.6949 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1487, allocations: 300 kB / 0.6952 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.921e-05/0.1488, allocations: 21.23 kB / 0.6952 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.1488, allocations: 11.53 kB / 0.6952 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.1488, allocations: 0 / 0.6952 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.149, allocations: 65.75 kB / 0.6953 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.149, allocations: 3.938 kB / 0.6953 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0001794/0.1492, allocations: 71.33 kB / 0.6953 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1492, allocations: 52.19 kB / 0.6954 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.1493, allocations: 106 kB / 0.6955 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1493, allocations: 28.2 kB / 0.6955 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.1494, allocations: 92.25 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.1494, allocations: 5.328 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.1495, allocations: 33.45 kB / 0.6957 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1496, allocations: 323.9 kB / 0.696 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.1497, allocations: 30.8 kB / 0.696 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.1498, allocations: 51.12 kB / 0.696 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1499, allocations: 80.88 kB / 0.6961 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1499, allocations: 4 kB / 0.6961 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002509/0.1502, allocations: 142.1 kB / 0.6963 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.1503, allocations: 37.47 kB / 0.6963 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1503, allocations: 1.062 kB / 0.6963 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1503, allocations: 1.094 kB / 0.6963 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.907e-05/0.1503, allocations: 5.031 kB / 0.6963 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1503, allocations: 1.312 kB / 0.6963 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1505, allocations: 27.88 kB / 0.6963 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1506, allocations: 8.719 kB / 0.6963 GB, free: 9.492 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 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001014/0.1507, allocations: 123.4 kB / 0.6965 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.1507, allocations: 5.359 kB / 0.6965 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.1507, allocations: 9.281 kB / 0.6965 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1507, allocations: 0 / 0.6965 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1507, allocations: 1.406 kB / 0.6965 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1507, allocations: 0 / 0.6965 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1509, allocations: 165.8 kB / 0.6966 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1509, allocations: 4 kB / 0.6966 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-06/0.1509, allocations: 0 / 0.6966 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1509, allocations: 1.125 kB / 0.6966 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1509, allocations: 1.375 kB / 0.6966 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1509, allocations: 0 / 0.6966 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1509, allocations: 0 / 0.6966 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.151, allocations: 82.16 kB / 0.6967 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.1511, allocations: 83.31 kB / 0.6968 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1511, allocations: 4.25 kB / 0.6968 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.1511, allocations: 9.219 kB / 0.6968 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.1512, allocations: 5.156 kB / 0.6968 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1512, allocations: 1.312 kB / 0.6968 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.1512, allocations: 83.89 kB / 0.6969 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1512, allocations: 1.156 kB / 0.6969 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002243/0.1515, allocations: 22.61 kB / 0.6969 GB, free: 8.859 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 (3): * Single equations (assignments): 2 * 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.0005119/0.152, allocations: 0.6217 MB / 0.6975 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1522, allocations: 114.5 kB / 0.6976 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1523, allocations: 0 / 0.6976 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.1523, allocations: 15.22 kB / 0.6976 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1525, allocations: 19.56 kB / 0.6977 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1543, allocations: 1.37 MB / 0.699 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1546, allocations: 0.6796 MB / 0.6997 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.1546, allocations: 1.375 kB / 0.6997 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.1547, allocations: 14.19 kB / 0.6997 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1547, allocations: 0 / 0.6997 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.1775, allocations: 1.987 MB / 0.7016 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.092, allocations: 7.344 kB / 0.7016 GB, free: 4.758 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_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_BooleanScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.050372065976262] Failed to read output from testmodel.py, exit status != 0: 8.440703405067325 8.18375091 8.03235165 Calling exit ...