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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 114.6 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.6 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9554/0.9554, allocations: 149.6 MB / 456.3 MB, free: 1.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.42 kB / 0.6319 GB, free: 9.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1955, allocations: 87.88 MB / 0.7177 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001898/0.1974, allocations: 0.64 MB / 0.7184 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1984, allocations: 0.8084 MB / 0.7191 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.1984, allocations: 0 / 0.7191 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1985, allocations: 3.938 kB / 0.7191 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.1986, allocations: 8 kB / 0.7192 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.903e-05/0.1987, allocations: 7.984 kB / 0.7192 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1988, allocations: 63.77 kB / 0.7192 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1989, allocations: 11.98 kB / 0.7192 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.199, allocations: 31.91 kB / 0.7193 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.457e-05/0.1991, allocations: 27.86 kB / 0.7193 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1991, allocations: 7.938 kB / 0.7193 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.1991, allocations: 8 kB / 0.7193 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.1992, allocations: 23.97 kB / 0.7193 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.1992, allocations: 23.81 kB / 0.7194 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1993, allocations: 71.7 kB / 0.7194 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1994, allocations: 4 kB / 0.7194 GB, free: 15.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1994, allocations: 0 / 0.7194 GB, free: 15.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1994, allocations: 0 / 0.7194 GB, free: 15.97 MB / 0.545 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.000572/0.1999, allocations: 306.1 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2, allocations: 16.62 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.2, allocations: 38.73 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.2, allocations: 8.891 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.2002, allocations: 134.4 kB / 0.7199 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2002, allocations: 4.375 kB / 0.7199 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2003, allocations: 384 / 0.7199 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.2006, allocations: 127.9 kB / 0.72 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2006, allocations: 7.938 kB / 0.72 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2006, allocations: 4 kB / 0.72 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2006, allocations: 8 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.201, allocations: 127.8 kB / 0.7202 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.2017, allocations: 404 kB / 0.7206 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.2019, allocations: 85.14 kB / 0.7206 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.2021, allocations: 65.72 kB / 0.7207 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2021, allocations: 3.938 kB / 0.7207 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.2021, allocations: 38.5 kB / 0.7207 GB, free: 14.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.2021, allocations: 0 / 0.7207 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000637/0.2028, allocations: 193.5 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.2028, allocations: 77.11 kB / 0.721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2029, allocations: 125.7 kB / 0.7211 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2029, allocations: 29.7 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.203, allocations: 96.03 kB / 0.7212 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.203, allocations: 7.938 kB / 0.7212 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2031, allocations: 13.88 kB / 0.7213 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2032, allocations: 318.8 kB / 0.7216 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.2034, allocations: 55.92 kB / 0.7216 GB, free: 13.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2036, allocations: 65.64 kB / 0.7217 GB, free: 13.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.2039, allocations: 109.6 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2039, allocations: 0 / 0.7218 GB, free: 13.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003607/0.2042, allocations: 137.5 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2043, allocations: 4 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2043, allocations: 0 / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2043, allocations: 4 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2044, allocations: 27.91 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2044, allocations: 0 / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2045, allocations: 19.91 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2046, allocations: 0 / 0.722 GB, free: 13.13 MB / 0.545 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.00011/0.2047, allocations: 125.9 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.2047, allocations: 4 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.2047, allocations: 3.469 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2047, allocations: 4 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2047, allocations: 0 / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.2048, allocations: 7.922 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.205, allocations: 156.7 kB / 0.7223 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.205, allocations: 0 / 0.7223 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2051, allocations: 19.97 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2051, allocations: 4 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.2051, allocations: 0 / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2051, allocations: 7.938 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2051, allocations: 0 / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.2056, allocations: 314.5 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.2057, allocations: 0 / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2057, allocations: 4 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2058, allocations: 19.97 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.2059, allocations: 16.3 kB / 0.7226 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2059, allocations: 0 / 0.7226 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.459e-05/0.206, allocations: 99.2 kB / 0.7227 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.206, allocations: 0 / 0.7227 GB, free: 12.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002767/0.2062, allocations: 15.98 kB / 0.7227 GB, free: 12.27 MB / 0.545 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.0008785/0.2071, allocations: 0.8367 MB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.2075, allocations: 103.9 kB / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2075, allocations: 0 / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.2077, allocations: 68.05 kB / 0.7237 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2081, allocations: 19.98 kB / 0.7237 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.2103, allocations: 1.58 MB / 0.7253 GB, free: 9.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.2106, allocations: 0.7041 MB / 0.726 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.231e-05/0.2107, allocations: 11.98 kB / 0.726 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.2107, allocations: 19.47 kB / 0.726 GB, free: 8.793 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.2107, allocations: 0 / 0.726 GB, free: 8.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.235, allocations: 1.859 MB / 0.7278 GB, free: 7.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.022, allocations: 4.062 kB / 0.7278 GB, free: 7.027 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.781712042997242] Failed to read output from testmodel.py, exit status != 0: 8.092068493002444 8.115866741 7.911789247 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd30153d7b0>