Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.00134/0.00134, allocations: 111.3 kB / 17.12 MB, free: 5.926 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: 204 kB / 20.09 MB, free: 2.977 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.571/1.571, 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.9918/0.9918, allocations: 150 MB / 459.5 MB, free: 5.297 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.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.001959/0.001959, allocations: 71.92 kB / 0.6361 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1882, allocations: 89.13 MB / 0.7232 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002042/0.1903, allocations: 0.6291 MB / 0.7238 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1914, allocations: 0.8164 MB / 0.7246 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.1914, allocations: 0 / 0.7246 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1915, allocations: 11.92 kB / 0.7246 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.879e-05/0.1915, allocations: 11.88 kB / 0.7246 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.1916, allocations: 8 kB / 0.7246 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.1917, allocations: 19.98 kB / 0.7246 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1918, allocations: 7.984 kB / 0.7246 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.1919, allocations: 15.88 kB / 0.7246 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.192, allocations: 19.91 kB / 0.7247 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.192, allocations: 0 / 0.7247 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.192, allocations: 4 kB / 0.7247 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.192, allocations: 11.98 kB / 0.7247 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.1921, allocations: 11.94 kB / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.448e-05/0.1922, allocations: 31.83 kB / 0.7247 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1922, allocations: 0 / 0.7247 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1922, allocations: 0 / 0.7247 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.1922, allocations: 0 / 0.7247 GB, free: 2.461 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.0005276/0.1927, allocations: 345.1 kB / 0.725 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1927, allocations: 8.031 kB / 0.7251 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.1928, allocations: 38.75 kB / 0.7251 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.1928, allocations: 4.891 kB / 0.7251 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.193, allocations: 176.3 kB / 0.7253 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.193, allocations: 384 / 0.7253 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.193, allocations: 4.375 kB / 0.7253 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1932, allocations: 58.17 kB / 0.7253 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1932, allocations: 3.938 kB / 0.7253 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1932, allocations: 0 / 0.7253 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1932, allocations: 4 kB / 0.7253 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.1934, allocations: 35.95 kB / 0.7254 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.1938, allocations: 280.9 kB / 0.7256 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.194, allocations: 38.48 kB / 0.7257 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.194, allocations: 16.91 kB / 0.7257 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.194, allocations: 0 / 0.7257 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1941, allocations: 42.55 kB / 0.7257 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1941, allocations: 0 / 0.7257 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0003616/0.1944, allocations: 73.66 kB / 0.7258 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1945, allocations: 55.34 kB / 0.7259 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.1946, allocations: 101.8 kB / 0.7259 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1946, allocations: 29.83 kB / 0.726 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1946, allocations: 84.14 kB / 0.7261 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1947, allocations: 13.81 kB / 0.7261 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.1947, allocations: 17.72 kB / 0.7261 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1948, allocations: 314.8 kB / 0.7264 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.1949, allocations: 11.98 kB / 0.7264 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.195, allocations: 15.98 kB / 0.7264 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1951, allocations: 44.81 kB / 0.7265 GB, free: 460 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1951, allocations: 4 kB / 0.7265 GB, free: 456 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001869/0.1953, allocations: 57.61 kB / 0.7265 GB, free: 392 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1953, allocations: 7.984 kB / 0.7265 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1953, allocations: 0 / 0.7265 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1954, allocations: 4.031 kB / 0.7265 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.1954, allocations: 8 kB / 0.7265 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1954, allocations: 0 / 0.7265 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.1955, allocations: 7.984 kB / 0.7265 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1955, allocations: 4 kB / 0.7265 GB, free: 360 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.619e-05/0.1956, allocations: 109.8 kB / 0.7266 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1956, allocations: 3.938 kB / 0.7267 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.1956, allocations: 11.11 kB / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1956, allocations: 4 kB / 0.7267 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1956, allocations: 0 / 0.7267 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1956, allocations: 0 / 0.7267 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1958, allocations: 173.5 kB / 0.7268 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1958, allocations: 0 / 0.7268 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.1959, allocations: 8.047 kB / 0.7268 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1959, allocations: 0 / 0.7268 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1959, allocations: 0 / 0.7268 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1959, allocations: 0 / 0.7268 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1959, allocations: 0 / 0.7268 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1961, allocations: 167.3 kB / 0.727 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1962, allocations: 77.36 kB / 0.7271 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1962, allocations: 0 / 0.7271 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.1963, allocations: 11.98 kB / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1963, allocations: 0 / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1963, allocations: 0 / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.1964, allocations: 87.31 kB / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1964, allocations: 0 / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002135/0.1966, allocations: 4 kB / 0.7272 GB, free: 15.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005722/0.1972, allocations: 0.6968 MB / 0.7279 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1974, allocations: 31.91 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1974, allocations: 4 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.1974, allocations: 11.98 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1978, allocations: 9.547 kB / 0.7279 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1993, allocations: 1.229 MB / 0.7291 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1996, allocations: 0.6807 MB / 0.7298 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.1996, allocations: 0 / 0.7298 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.1997, allocations: 15.44 kB / 0.7298 GB, free: 12.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1997, allocations: 0 / 0.7298 GB, free: 12.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.2248, allocations: 1.304 MB / 0.7311 GB, free: 11.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.301, allocations: 6.125 kB / 0.7311 GB, free: 11.63 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_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_RealScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.365910761989653] Failed to read output from testmodel.py, exit status != 0: 8.371536212973297 8.395060967 8.198700314 Calling exit ...