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.001685/0.001685, allocations: 119 kB / 19.69 MB, free: 2.199 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.001454/0.001454, allocations: 223.8 kB / 23.01 MB, free: 5.047 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.097/1.097, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 178] 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.001961/0.001961, allocations: 67.38 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2099, allocations: 89.18 MB / 0.7283 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001933/0.2118, allocations: 0.639 MB / 0.729 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2128, allocations: 0.8199 MB / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.2129, allocations: 0 / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.903e-05/0.213, allocations: 3.938 kB / 0.7298 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.102e-05/0.213, allocations: 4 kB / 0.7298 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.2131, allocations: 15.98 kB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.725e-05/0.2132, allocations: 19.94 kB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2133, allocations: 7.984 kB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.2133, allocations: 11.94 kB / 0.7298 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.2134, allocations: 11.97 kB / 0.7298 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2134, allocations: 7.938 kB / 0.7299 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.2134, allocations: 0 / 0.7299 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.2135, allocations: 15.92 kB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.2135, allocations: 11.94 kB / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.758e-05/0.2136, allocations: 35.77 kB / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.2136, allocations: 4 kB / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2136, allocations: 0 / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2136, allocations: 0 / 0.7299 GB, free: 15.63 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.0004531/0.2141, allocations: 262.3 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2141, allocations: 8.031 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.2141, allocations: 34.75 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.2142, allocations: 8.891 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2143, allocations: 114.5 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2143, allocations: 8.375 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2143, allocations: 384 / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2145, allocations: 54.23 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2145, allocations: 3.938 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.2145, allocations: 3.938 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2145, allocations: 3.938 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.2147, allocations: 35.97 kB / 0.7304 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.2151, allocations: 247.9 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2152, allocations: 38.48 kB / 0.7307 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.2153, allocations: 16.91 kB / 0.7307 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2153, allocations: 4 kB / 0.7307 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.2153, allocations: 38.56 kB / 0.7308 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2153, allocations: 0 / 0.7308 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000323/0.2157, allocations: 73.64 kB / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2157, allocations: 51.41 kB / 0.7309 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.2158, allocations: 101.8 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2158, allocations: 25.7 kB / 0.731 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.2158, allocations: 88.27 kB / 0.7311 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2159, allocations: 11.94 kB / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.2159, allocations: 9.719 kB / 0.7311 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.216, allocations: 322.7 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.2161, allocations: 19.97 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.2162, allocations: 11.98 kB / 0.7314 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.2163, allocations: 36.89 kB / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2163, allocations: 0 / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001708/0.2165, allocations: 65.66 kB / 0.7315 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2165, allocations: 4 kB / 0.7315 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2165, allocations: 0 / 0.7315 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2165, allocations: 0 / 0.7315 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.2166, allocations: 12.02 kB / 0.7316 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2166, allocations: 0 / 0.7316 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.2166, allocations: 12.12 kB / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2166, allocations: 3.984 kB / 0.7316 GB, free: 13.73 MB / 0.5606 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 7.771e-05/0.2167, allocations: 115.8 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.2167, allocations: 4 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.2167, allocations: 11.16 kB / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2167, allocations: 0 / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2168, allocations: 4 kB / 0.7317 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2168, allocations: 0 / 0.7317 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2169, allocations: 140.6 kB / 0.7318 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2169, allocations: 3.984 kB / 0.7318 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.217, allocations: 4 kB / 0.7318 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.217, allocations: 0 / 0.7318 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.217, allocations: 3.984 kB / 0.7318 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.217, allocations: 0 / 0.7318 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.217, allocations: 0 / 0.7318 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.2172, allocations: 163.4 kB / 0.732 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.2172, allocations: 7.922 kB / 0.732 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.2172, allocations: 0 / 0.732 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.2173, allocations: 8 kB / 0.732 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.2173, allocations: 7.922 kB / 0.732 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2173, allocations: 0 / 0.732 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.2174, allocations: 79.28 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2174, allocations: 8.031 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002069/0.2176, allocations: 0 / 0.7321 GB, free: 13.12 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: 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.0005233/0.2181, allocations: 0.6928 MB / 0.7328 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.2183, allocations: 39.98 kB / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2183, allocations: 3.938 kB / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.2184, allocations: 15.98 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2187, allocations: 4.984 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2201, allocations: 1.233 MB / 0.7341 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2204, allocations: 0.6768 MB / 0.7347 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.2204, allocations: 7.984 kB / 0.7347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.2204, allocations: 11.44 kB / 0.7347 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2204, allocations: 0 / 0.7347 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.2475, allocations: 1.386 MB / 0.7361 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.94, allocations: 11.34 kB / 0.7361 GB, free: 9.055 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.0481793809995] Failed to read output from testmodel.py, exit status != 0: 11.042770248001034 11.05895237 10.842131499 Calling exit ...