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.001442/0.001442, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001497/0.001497, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9953/0.9953, allocations: 150 MB / 459.5 MB, free: 5.727 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.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.003378/0.003378, allocations: 77.91 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2101, allocations: 89.13 MB / 0.7232 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001863/0.2119, allocations: 0.6031 MB / 0.7237 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2135, allocations: 1.149 MB / 0.7249 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.2135, allocations: 3.938 kB / 0.7249 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.382e-05/0.2136, allocations: 0 / 0.7249 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.093e-05/0.2136, allocations: 7.922 kB / 0.7249 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.2141, allocations: 126.3 kB / 0.725 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2143, allocations: 91.83 kB / 0.7251 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.2144, allocations: 7.938 kB / 0.7251 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.2145, allocations: 43.89 kB / 0.7251 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2146, allocations: 31.91 kB / 0.7252 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2146, allocations: 8 kB / 0.7252 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.2147, allocations: 19.98 kB / 0.7252 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.2148, allocations: 11.98 kB / 0.7252 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.2148, allocations: 35.84 kB / 0.7252 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.215, allocations: 83.78 kB / 0.7253 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.215, allocations: 3.984 kB / 0.7253 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.215, allocations: 0 / 0.7253 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5e-06/0.215, allocations: 0 / 0.7253 GB, free: 1.871 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005018/0.2155, allocations: 386.8 kB / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2156, allocations: 8.031 kB / 0.7257 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.2156, allocations: 42.75 kB / 0.7257 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.2157, allocations: 8.891 kB / 0.7258 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.2158, allocations: 176.4 kB / 0.7259 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2159, allocations: 4.375 kB / 0.7259 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.2159, allocations: 8.312 kB / 0.7259 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.216, allocations: 46.25 kB / 0.726 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.216, allocations: 3.938 kB / 0.726 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.216, allocations: 8 kB / 0.726 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.216, allocations: 0 / 0.726 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.2161, allocations: 11.98 kB / 0.726 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.2164, allocations: 304.7 kB / 0.7263 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.2165, allocations: 22.58 kB / 0.7263 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.2165, allocations: 4.859 kB / 0.7263 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.2165, allocations: 0 / 0.7263 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.2167, allocations: 67.39 kB / 0.7264 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2167, allocations: 3.938 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001829/0.2169, allocations: 65.75 kB / 0.7264 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2169, allocations: 59.39 kB / 0.7265 GB, free: 472 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.217, allocations: 109.8 kB / 0.7266 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.217, allocations: 25.7 kB / 0.7266 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.2171, allocations: 88.14 kB / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.2171, allocations: 11.94 kB / 0.7267 GB, free: 216 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.2172, allocations: 29.7 kB / 0.7268 GB, free: 180 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2173, allocations: 322.8 kB / 0.7271 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.2174, allocations: 31.97 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.2175, allocations: 46.56 kB / 0.7271 GB, free: 15.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.2176, allocations: 84.2 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2176, allocations: 0 / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002539/0.2178, allocations: 143.3 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.2179, allocations: 37.7 kB / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2179, allocations: 3.984 kB / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2179, allocations: 0 / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-05/0.2179, allocations: 4 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2179, allocations: 0 / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.2181, allocations: 36.27 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2182, allocations: 4 kB / 0.7274 GB, free: 15.43 MB / 0.545 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.0001119/0.2183, allocations: 125.7 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.2183, allocations: 8 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.2183, allocations: 3.906 kB / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2183, allocations: 0 / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2183, allocations: 0 / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2183, allocations: 0 / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2185, allocations: 165.6 kB / 0.7277 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2185, allocations: 4 kB / 0.7277 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.2185, allocations: 8 kB / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2185, allocations: 0 / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2185, allocations: 0 / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2185, allocations: 0 / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2185, allocations: 0 / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.2186, allocations: 85.02 kB / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.2186, allocations: 81.09 kB / 0.7279 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2186, allocations: 7.938 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.2187, allocations: 3.938 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.2187, allocations: 4 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2187, allocations: 0 / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.2187, allocations: 87.27 kB / 0.728 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2187, allocations: 3.938 kB / 0.728 GB, free: 14.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00021/0.2189, allocations: 16 kB / 0.728 GB, free: 14.73 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: 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.0004798/0.2194, allocations: 0.6163 MB / 0.7286 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.2196, allocations: 107.3 kB / 0.7287 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2196, allocations: 4 kB / 0.7287 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.2197, allocations: 8 kB / 0.7287 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2199, allocations: 11.97 kB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.2214, allocations: 1.377 MB / 0.7301 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2217, allocations: 0.6846 MB / 0.7308 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.2217, allocations: 0 / 0.7308 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.2218, allocations: 15.44 kB / 0.7308 GB, free: 11.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2218, allocations: 0 / 0.7308 GB, free: 11.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.2471, allocations: 2.005 MB / 0.7327 GB, free: 9.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.439, allocations: 12.17 kB / 0.7327 GB, free: 9.855 MB / 0.545 GB " [Timeout remaining time 651] (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.437711101956666] Failed to read output from testmodel.py, exit status != 0: 8.510663398075849 8.53656063 8.316648453 Calling exit ...