Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001349/0.001349, 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.001485/0.001485, allocations: 225.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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.964/0.964, allocations: 150 MB / 463.2 MB, free: 10.46 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.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.002001/0.002001, allocations: 66.91 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 89.17 MB / 0.7283 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002155/0.1835, allocations: 0.6496 MB / 0.729 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1846, allocations: 0.8666 MB / 0.7298 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.1847, allocations: 3.938 kB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.332e-05/0.1847, allocations: 3.984 kB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.181e-05/0.1848, allocations: 3.938 kB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1849, allocations: 19.92 kB / 0.7299 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.185, allocations: 23.98 kB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.1851, allocations: 11.94 kB / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.853e-05/0.1852, allocations: 27.84 kB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.1852, allocations: 15.92 kB / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1852, allocations: 4 kB / 0.7299 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.1852, allocations: 4 kB / 0.7299 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.1853, allocations: 11.98 kB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.1853, allocations: 15.88 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.223e-05/0.1854, allocations: 39.86 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1854, allocations: 3.938 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1854, allocations: 0 / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1854, allocations: 0 / 0.73 GB, free: 15.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004586/0.1859, allocations: 278.3 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1859, allocations: 8.031 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.186, allocations: 34.75 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.186, allocations: 12.89 kB / 0.7303 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1861, allocations: 114.5 kB / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1861, allocations: 384 / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1862, allocations: 8.375 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1864, allocations: 62.16 kB / 0.7305 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1864, allocations: 3.938 kB / 0.7305 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1864, allocations: 8 kB / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1864, allocations: 0 / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1866, allocations: 43.95 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.187, allocations: 259.7 kB / 0.7308 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1871, allocations: 38.55 kB / 0.7308 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.1872, allocations: 28.91 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1872, allocations: 3.938 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1873, allocations: 34.56 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1873, allocations: 0 / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003771/0.1876, allocations: 93.56 kB / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1877, allocations: 51.41 kB / 0.731 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.1878, allocations: 102 kB / 0.7311 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1878, allocations: 33.7 kB / 0.7312 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.1878, allocations: 88.08 kB / 0.7313 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1879, allocations: 3.953 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.1879, allocations: 17.72 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.188, allocations: 318.8 kB / 0.7316 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.1881, allocations: 19.98 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1882, allocations: 19.98 kB / 0.7316 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1884, allocations: 44.81 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1884, allocations: 0 / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002056/0.1886, allocations: 69.59 kB / 0.7317 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1886, allocations: 4 kB / 0.7317 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1886, allocations: 8.078 kB / 0.7317 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1886, allocations: 4 kB / 0.7317 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1887, allocations: 7.984 kB / 0.7318 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1887, allocations: 0 / 0.7318 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.1888, allocations: 7.984 kB / 0.7318 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1888, allocations: 0 / 0.7318 GB, free: 13.56 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: 1 (intRep.y[3]) * 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.000155/0.1889, allocations: 119.8 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.189, allocations: 7.891 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.189, allocations: 11.31 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.189, allocations: 0 / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.189, allocations: 3.938 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.189, allocations: 3.984 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1892, allocations: 136.7 kB / 0.732 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1892, allocations: 256 / 0.732 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.1892, allocations: 15.98 kB / 0.732 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1892, allocations: 0 / 0.732 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1893, allocations: 0 / 0.732 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1893, allocations: 0 / 0.732 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1893, allocations: 7.984 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1895, allocations: 171.4 kB / 0.7322 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-06/0.1895, allocations: 0 / 0.7322 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1895, allocations: 0 / 0.7322 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.1896, allocations: 11.98 kB / 0.7322 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1897, allocations: 12.02 kB / 0.7322 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1897, allocations: 0 / 0.7322 GB, free: 13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.1897, allocations: 87.27 kB / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1897, allocations: 0 / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002154/0.1899, allocations: 4 kB / 0.7323 GB, free: 12.91 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: 1 (intRep.y[3]) * 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.0005544/0.1905, allocations: 0.7084 MB / 0.733 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1907, allocations: 39.95 kB / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1907, allocations: 4 kB / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.1908, allocations: 19.97 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1911, allocations: 13.03 kB / 0.7331 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1925, allocations: 1.253 MB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1928, allocations: 0.6768 MB / 0.735 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.1928, allocations: 8.031 kB / 0.735 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1929, allocations: 15.44 kB / 0.735 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1929, allocations: 3.938 kB / 0.735 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2188, allocations: 1.617 MB / 0.7366 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.05, allocations: 15.59 kB / 0.7366 GB, free: 8.555 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.903075723002985] Failed to read output from testmodel.py, exit status != 0: 11.160494060000929 11.189226325 10.99771214 Calling exit ...