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.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.001346/0.001346, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001557/0.001557, allocations: 211.8 kB / 22.99 MB, free: 4.605 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 1.028/1.028, allocations: 149.9 MB / 463.1 MB, free: 10.33 MB / 366.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.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: 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.00218/0.00218, allocations: 66.28 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.191, allocations: 89.18 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00215/0.1931, allocations: 0.5936 MB / 0.7287 GB, free: 452 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1951, allocations: 1.132 MB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.1951, allocations: 0 / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.1953, allocations: 3.938 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.1953, allocations: 7.922 kB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.1958, allocations: 129.5 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.196, allocations: 87.83 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.196, allocations: 7.938 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.803e-05/0.1961, allocations: 35.91 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1962, allocations: 35.89 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1962, allocations: 8 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.1963, allocations: 19.98 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.1964, allocations: 8 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.1964, allocations: 27.91 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1966, allocations: 91.72 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1966, allocations: 0 / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.245e-06/0.1966, allocations: 0 / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1966, allocations: 0 / 0.7303 GB, free: 14.85 MB / 0.5606 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.0005684/0.1972, allocations: 307.9 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1972, allocations: 16.03 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.1973, allocations: 38.69 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.1973, allocations: 8.891 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1975, allocations: 130.4 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1975, allocations: 4.375 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1976, allocations: 8.375 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1977, allocations: 42.25 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1977, allocations: 3.938 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1977, allocations: 0 / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1977, allocations: 4 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.1977, allocations: 11.98 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1981, allocations: 267.9 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.454e-05/0.1982, allocations: 18.58 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.1982, allocations: 4.859 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.1982, allocations: 0 / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.1984, allocations: 67.39 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1984, allocations: 0 / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001827/0.1986, allocations: 61.69 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1986, allocations: 51.41 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1988, allocations: 114 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1988, allocations: 29.7 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.1989, allocations: 84.14 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.1989, allocations: 15.94 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.199, allocations: 29.7 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1991, allocations: 314.8 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.852e-05/0.1992, allocations: 61.62 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1994, allocations: 84.31 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1995, allocations: 84.25 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1995, allocations: 0 / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002892/0.1998, allocations: 177 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.1998, allocations: 37.69 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1998, allocations: 4 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1998, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.1998, allocations: 3.938 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1999, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.2001, allocations: 31.86 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2001, allocations: 7.984 kB / 0.7323 GB, free: 12.5 MB / 0.5606 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.0001232/0.2002, allocations: 125.8 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2002, allocations: 7.938 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.2003, allocations: 4 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2003, allocations: 0 / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2003, allocations: 240 / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2003, allocations: 0 / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.2004, allocations: 140.7 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2004, allocations: 3.984 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-06/0.2004, allocations: 4 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2004, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2004, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2004, allocations: 4 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2004, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.2006, allocations: 85 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.2006, allocations: 3.953 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2006, allocations: 7.984 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.2006, allocations: 0 / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.2006, allocations: 0 / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2006, allocations: 0 / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.2007, allocations: 95.33 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2007, allocations: 0 / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002072/0.2009, allocations: 12 kB / 0.7328 GB, free: 11.94 MB / 0.5606 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.0006204/0.2015, allocations: 0.6241 MB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.2018, allocations: 133.1 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2018, allocations: 0 / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.2018, allocations: 11.94 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.202, allocations: 13.88 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2037, allocations: 1.493 MB / 0.735 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.2038, allocations: 67.53 kB / 0.7351 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.2038, allocations: 7.984 kB / 0.7351 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.2038, allocations: 11.44 kB / 0.7351 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2038, allocations: 4 kB / 0.7351 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.2343, allocations: 2.603 MB / 0.7376 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.48, allocations: 7.922 kB / 0.7377 GB, free: 6.938 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.579839382320642] Failed to read output from testmodel.py, exit status != 0: 11.58478412264958 11.609887395 11.408702906 Calling exit ...