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.001394/0.001394, allocations: 117.9 kB / 17.84 MB, free: 5.234 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.00144/0.00144, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.602/1.602, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.057/1.057, allocations: 150 MB / 460.2 MB, free: 5.281 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.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="cs",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.002043/0.002043, allocations: 63.53 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 89.14 MB / 0.7238 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001891/0.1738, allocations: 0.635 MB / 0.7245 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1749, allocations: 0.8358 MB / 0.7253 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.1749, allocations: 0 / 0.7253 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.274e-05/0.175, allocations: 3.938 kB / 0.7253 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.117e-05/0.1751, allocations: 11.98 kB / 0.7253 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.272e-05/0.1752, allocations: 7.984 kB / 0.7253 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1753, allocations: 59.78 kB / 0.7254 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1754, allocations: 19.92 kB / 0.7254 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.1755, allocations: 31.91 kB / 0.7254 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.1756, allocations: 23.91 kB / 0.7254 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1756, allocations: 8 kB / 0.7254 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.1756, allocations: 4 kB / 0.7254 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.1757, allocations: 23.98 kB / 0.7255 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1757, allocations: 27.8 kB / 0.7255 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1759, allocations: 67.7 kB / 0.7255 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1759, allocations: 4 kB / 0.7256 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.12e-07/0.1759, allocations: 0 / 0.7256 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.1759, allocations: 0 / 0.7256 GB, free: 2.246 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006484/0.1765, allocations: 395.2 kB / 0.7259 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1766, allocations: 12.03 kB / 0.7259 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.781e-05/0.1766, allocations: 192 / 0.7259 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.1766, allocations: 34.75 kB / 0.726 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1767, allocations: 4.891 kB / 0.726 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1768, allocations: 184.3 kB / 0.7262 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1769, allocations: 4.375 kB / 0.7262 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1769, allocations: 4.375 kB / 0.7262 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.1772, allocations: 143.5 kB / 0.7263 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1772, allocations: 0 / 0.7263 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1772, allocations: 0 / 0.7263 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1773, allocations: 4 kB / 0.7263 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.1777, allocations: 127.8 kB / 0.7264 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.1784, allocations: 440.8 kB / 0.7268 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1786, allocations: 89.09 kB / 0.7269 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.1788, allocations: 71.53 kB / 0.727 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1788, allocations: 0 / 0.727 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1789, allocations: 38.56 kB / 0.727 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1789, allocations: 3.938 kB / 0.727 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0006995/0.1796, allocations: 193.4 kB / 0.7272 GB, free: 336 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1796, allocations: 81.05 kB / 0.7273 GB, free: 236 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1797, allocations: 125.8 kB / 0.7274 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1798, allocations: 25.7 kB / 0.7274 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.1798, allocations: 96.34 kB / 0.7275 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.1799, allocations: 7.938 kB / 0.7275 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.1799, allocations: 17.72 kB / 0.7276 GB, free: 15.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.18, allocations: 310.8 kB / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.1802, allocations: 51.92 kB / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.1804, allocations: 73.64 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.1808, allocations: 101.6 kB / 0.7281 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1808, allocations: 0 / 0.7281 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004219/0.1812, allocations: 141.6 kB / 0.7282 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1813, allocations: 4 kB / 0.7282 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1813, allocations: 0 / 0.7282 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1813, allocations: 0 / 0.7282 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1814, allocations: 19.97 kB / 0.7282 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1814, allocations: 3.938 kB / 0.7282 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.1815, allocations: 20.05 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1815, allocations: 3.984 kB / 0.7283 GB, free: 15.2 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.0001074/0.1816, allocations: 125.7 kB / 0.7284 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.1817, allocations: 11.94 kB / 0.7284 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.1817, allocations: 7.531 kB / 0.7284 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1817, allocations: 0 / 0.7284 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1817, allocations: 7.938 kB / 0.7284 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1817, allocations: 0 / 0.7284 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.182, allocations: 178 kB / 0.7286 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.182, allocations: 4 kB / 0.7286 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1821, allocations: 19.97 kB / 0.7286 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1821, allocations: 0 / 0.7286 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1821, allocations: 7.875 kB / 0.7286 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1821, allocations: 0 / 0.7286 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1821, allocations: 7.938 kB / 0.7286 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.1826, allocations: 306.6 kB / 0.7289 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1827, allocations: 81.06 kB / 0.729 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1827, allocations: 0 / 0.729 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1828, allocations: 19.97 kB / 0.729 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.1829, allocations: 15.91 kB / 0.729 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1829, allocations: 4 kB / 0.729 GB, free: 14.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.798e-05/0.183, allocations: 95.3 kB / 0.7291 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.183, allocations: 0 / 0.7291 GB, free: 14.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003433/0.1833, allocations: 8 kB / 0.7291 GB, free: 14.21 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.0008356/0.1841, allocations: 0.8444 MB / 0.7299 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.1846, allocations: 107.9 kB / 0.73 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1846, allocations: 160 / 0.73 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.1848, allocations: 59.92 kB / 0.7301 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1852, allocations: 27.86 kB / 0.7301 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.1876, allocations: 1.578 MB / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.188, allocations: 0.7041 MB / 0.7324 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.1881, allocations: 15.98 kB / 0.7324 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.1882, allocations: 15.44 kB / 0.7324 GB, free: 10.72 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.1882, allocations: 0 / 0.7324 GB, free: 10.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.2078, allocations: 1.914 MB / 0.7343 GB, free: 8.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.484, allocations: 11.94 kB / 0.7343 GB, free: 8.941 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.612850264005829] Failed to read output from testmodel.py, exit status != 0: 8.60515573999146 8.619655495 8.441029475 Calling exit ...