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.00164/0.00164, 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.002032/0.002032, allocations: 210.5 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9862/0.9862, allocations: 149.9 MB / 463 MB, free: 10.32 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.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.002121/0.002121, allocations: 63.95 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2034, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001901/0.2053, allocations: 0.6302 MB / 0.7288 GB, free: 428 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2065, allocations: 0.8121 MB / 0.7296 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.2065, allocations: 0 / 0.7296 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.2066, allocations: 7.922 kB / 0.7296 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.431e-05/0.2067, allocations: 7.875 kB / 0.7296 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.2068, allocations: 11.98 kB / 0.7296 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.2069, allocations: 23.98 kB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.207, allocations: 4 kB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.207, allocations: 15.92 kB / 0.7296 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/0.2071, allocations: 11.92 kB / 0.7296 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.2071, allocations: 4 kB / 0.7296 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.2071, allocations: 0 / 0.7296 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.2072, allocations: 4 kB / 0.7296 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2072, allocations: 15.92 kB / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2073, allocations: 31.83 kB / 0.7297 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2073, allocations: 4 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2073, allocations: 0 / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2073, allocations: 4 kB / 0.7297 GB, free: 15.45 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.0005325/0.2079, allocations: 262.3 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2079, allocations: 12.02 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.208, allocations: 34.69 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.208, allocations: 8.891 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.2082, allocations: 114.5 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2082, allocations: 384 / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2082, allocations: 4.375 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.2084, allocations: 62.11 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2084, allocations: 7.938 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2084, allocations: 0 / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2085, allocations: 8 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.2086, allocations: 35.95 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.2091, allocations: 240 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2092, allocations: 34.48 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.2093, allocations: 28.91 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.2093, allocations: 0 / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.2094, allocations: 30.56 kB / 0.7305 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.2094, allocations: 0 / 0.7305 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0003565/0.2097, allocations: 73.64 kB / 0.7306 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2098, allocations: 55.34 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2099, allocations: 101.9 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.2099, allocations: 29.83 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.21, allocations: 92.12 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.21, allocations: 3.953 kB / 0.7309 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.21, allocations: 9.719 kB / 0.7309 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2102, allocations: 318.8 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.2103, allocations: 19.97 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.2104, allocations: 11.98 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2105, allocations: 36.89 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2105, allocations: 0 / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001823/0.2107, allocations: 65.59 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2107, allocations: 8 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2107, allocations: 0 / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2107, allocations: 0 / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.2108, allocations: 7.984 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.2108, allocations: 3.984 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.2109, allocations: 11.97 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.2109, allocations: 0 / 0.7314 GB, free: 13.55 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 9.756e-05/0.211, allocations: 121.8 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.211, allocations: 0 / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.211, allocations: 7.156 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.211, allocations: 0 / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.211, allocations: 0 / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.211, allocations: 3.984 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2112, allocations: 132.7 kB / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2112, allocations: 0 / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.2113, allocations: 11.98 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2113, allocations: 0 / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2113, allocations: 0 / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2113, allocations: 4.188 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2113, allocations: 0 / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.2115, allocations: 167.3 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.2115, allocations: 11.94 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2115, allocations: 0 / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.2116, allocations: 12.02 kB / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.2117, allocations: 0 / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2117, allocations: 4 kB / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.2117, allocations: 79.28 kB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2117, allocations: 0 / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002054/0.2119, allocations: 4 kB / 0.7319 GB, free: 12.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: 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.0005809/0.2125, allocations: 0.689 MB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.2127, allocations: 39.94 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2127, allocations: 0 / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.2128, allocations: 15.98 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2131, allocations: 6.188 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.2146, allocations: 1.237 MB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.855e-05/0.2147, allocations: 63.34 kB / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.2147, allocations: 0 / 0.7339 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.2147, allocations: 11.44 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2147, allocations: 0 / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.2432, allocations: 1.82 MB / 0.7357 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 5.594 kB / 0.7357 GB, free: 9.07 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.283760074991733] Failed to read output from testmodel.py, exit status != 0: 11.431947087869048 11.45186715 11.241328979 Calling exit ...