Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.001587/0.001587, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001856/0.001856, allocations: 218.4 kB / 23 MB, free: 5.004 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9779/0.9779, allocations: 150 MB / 463.2 MB, free: 10.47 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.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.002896/0.002896, allocations: 62.34 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2059, 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.RealVectorReplicator): time 0.002139/0.208, allocations: 0.639 MB / 0.729 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2092, allocations: 0.8199 MB / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.2093, allocations: 3.938 kB / 0.7298 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2094, allocations: 0 / 0.7298 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2095, allocations: 19.91 kB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.428e-05/0.2096, allocations: 7.938 kB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2097, allocations: 55.84 kB / 0.7299 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2099, allocations: 23.91 kB / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.2099, allocations: 23.92 kB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.21, allocations: 35.83 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2101, allocations: 4 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2101, allocations: 4 kB / 0.7299 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.2101, allocations: 23.98 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.2102, allocations: 27.8 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2103, allocations: 63.78 kB / 0.7301 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2103, allocations: 4 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2103, allocations: 0 / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2104, allocations: 0 / 0.7301 GB, free: 15.48 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007033/0.2111, allocations: 314 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2111, allocations: 12.03 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.2112, allocations: 38.75 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.2112, allocations: 8.891 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.2114, allocations: 130.5 kB / 0.7305 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2114, allocations: 4.375 kB / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2114, allocations: 4.375 kB / 0.7305 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2118, allocations: 131.8 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2118, allocations: 7.938 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2118, allocations: 0 / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2118, allocations: 4 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.2122, allocations: 127.8 kB / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.2129, allocations: 403.9 kB / 0.7312 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.2131, allocations: 89.08 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2133, allocations: 69.72 kB / 0.7313 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2133, allocations: 3.984 kB / 0.7313 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2134, allocations: 34.56 kB / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2134, allocations: 0 / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0009149/0.2143, allocations: 193.6 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.2144, allocations: 81.05 kB / 0.7316 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2145, allocations: 129.7 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2145, allocations: 25.7 kB / 0.7318 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.2146, allocations: 96.08 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.2146, allocations: 7.953 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.2146, allocations: 9.719 kB / 0.7319 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2147, allocations: 326.8 kB / 0.7322 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.2149, allocations: 51.92 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2151, allocations: 65.64 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.2154, allocations: 105.7 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2154, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003863/0.2158, allocations: 137.5 kB / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2159, allocations: 12.06 kB / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2159, allocations: 0 / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2159, allocations: 0 / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.216, allocations: 19.97 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.216, allocations: 0 / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.2161, allocations: 19.91 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2161, allocations: 0 / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 0.0001108/0.2162, allocations: 135.7 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.2163, allocations: 3.953 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.2163, allocations: 11.47 kB / 0.7327 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2163, allocations: 0 / 0.7327 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2163, allocations: 0 / 0.7327 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2163, allocations: 3.938 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.2166, allocations: 148.7 kB / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2166, allocations: 4 kB / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2167, allocations: 19.91 kB / 0.7329 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2167, allocations: 4 kB / 0.7329 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2167, allocations: 7.984 kB / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2167, allocations: 0 / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2167, allocations: 0 / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.2172, allocations: 311 kB / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.2172, allocations: 11.94 kB / 0.7332 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2172, allocations: 0 / 0.7332 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2173, allocations: 15.98 kB / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2174, allocations: 19.8 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2174, allocations: 0 / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.2175, allocations: 99.2 kB / 0.7334 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2175, allocations: 0 / 0.7334 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002583/0.2177, allocations: 8 kB / 0.7334 GB, free: 11.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0007725/0.2185, allocations: 0.8445 MB / 0.7342 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.2189, allocations: 111.8 kB / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2189, allocations: 0 / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2191, allocations: 63.91 kB / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2194, allocations: 20.19 kB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.2219, allocations: 1.579 MB / 0.7359 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.2224, allocations: 0.7041 MB / 0.7366 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.2225, allocations: 11.98 kB / 0.7366 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.2225, allocations: 19.47 kB / 0.7366 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.2225, allocations: 0 / 0.7366 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.2581, allocations: 1.977 MB / 0.7386 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.1, allocations: 5.953 kB / 0.7386 GB, free: 6.461 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.024063726188615] Failed to read output from testmodel.py, exit status != 0: 11.201558537082747 11.21829222 11.004742327 Calling exit ...