Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001371/0.001371, 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.001522/0.001522, allocations: 209.6 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9717/0.9717, allocations: 149.9 MB / 463.1 MB, free: 10.35 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.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",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.002196/0.002196, allocations: 66.72 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1879, allocations: 89.17 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003672/0.1916, allocations: 1.776 MB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.1939, allocations: 1.185 MB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.194, allocations: 4 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1943, allocations: 59.67 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1947, allocations: 123.5 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.1953, allocations: 194.2 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1956, allocations: 167.5 kB / 0.7316 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1957, allocations: 13.62 kB / 0.7316 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1958, allocations: 63.77 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1959, allocations: 71.67 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.196, allocations: 8 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.1962, allocations: 83.92 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.1962, allocations: 35.86 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.1963, allocations: 55.66 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1967, allocations: 207.5 kB / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1967, allocations: 0 / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1967, allocations: 0 / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.1967, allocations: 0 / 0.7321 GB, free: 12.98 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.000756/0.1974, allocations: 430.8 kB / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1975, allocations: 11.97 kB / 0.7325 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.1975, allocations: 34.75 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.1976, allocations: 16.84 kB / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.1979, allocations: 194.2 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.198, allocations: 8.375 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.198, allocations: 11.88 kB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1982, allocations: 113 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1982, allocations: 0 / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1982, allocations: 7.984 kB / 0.7329 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1983, allocations: 4 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1984, allocations: 35.98 kB / 0.7329 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1989, allocations: 323.7 kB / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1992, allocations: 86.66 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.1992, allocations: 32.84 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1992, allocations: 0 / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.1995, allocations: 87.41 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1995, allocations: 0 / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003911/0.1998, allocations: 141.5 kB / 0.7336 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.1999, allocations: 77.11 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.2002, allocations: 279 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.2003, allocations: 33.67 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.2004, allocations: 120.1 kB / 0.734 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.2004, allocations: 23.8 kB / 0.7341 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.2004, allocations: 29.7 kB / 0.7341 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2006, allocations: 326.8 kB / 0.7344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.2007, allocations: 31.92 kB / 0.7344 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2008, allocations: 114.8 kB / 0.7345 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.201, allocations: 69.69 kB / 0.7346 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.201, allocations: 0 / 0.7346 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002378/0.2012, allocations: 125.4 kB / 0.7347 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2013, allocations: 6.344 kB / 0.7347 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2013, allocations: 4.062 kB / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2013, allocations: 0 / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2014, allocations: 19.98 kB / 0.7348 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2014, allocations: 192 / 0.7348 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.2015, allocations: 7.938 kB / 0.7348 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2015, allocations: 11.88 kB / 0.7348 GB, free: 9.965 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001374/0.2016, allocations: 138.8 kB / 0.7349 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.2016, allocations: 19.86 kB / 0.7349 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.2019, allocations: 135 kB / 0.7351 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2019, allocations: 4 kB / 0.7351 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2019, allocations: 0 / 0.7351 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2019, allocations: 7.922 kB / 0.7351 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.2022, allocations: 184.6 kB / 0.7352 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2022, allocations: 0 / 0.7352 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.2022, allocations: 8 kB / 0.7353 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.2022, allocations: 3.984 kB / 0.7353 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.2022, allocations: 0 / 0.7353 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.2022, allocations: 11.98 kB / 0.7353 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2022, allocations: 0 / 0.7353 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.2025, allocations: 161.3 kB / 0.7354 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.2026, allocations: 15.86 kB / 0.7354 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.2026, allocations: 8 kB / 0.7354 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.2026, allocations: 0 / 0.7354 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.2027, allocations: 15.92 kB / 0.7355 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.2027, allocations: 7.984 kB / 0.7355 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002159/0.2029, allocations: 204.6 kB / 0.7357 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2029, allocations: 0 / 0.7357 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002581/0.2032, allocations: 35.92 kB / 0.7357 GB, free: 8.949 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002212/0.2054, allocations: 1.037 MB / 0.7367 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.2057, allocations: 75.89 kB / 0.7368 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2057, allocations: 0 / 0.7368 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2058, allocations: 39.97 kB / 0.7368 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.206, allocations: 41.38 kB / 0.7369 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.2086, allocations: 1.99 MB / 0.7388 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2087, allocations: 114.6 kB / 0.7389 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.2088, allocations: 25.72 kB / 0.7389 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2089, allocations: 55.41 kB / 0.739 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2089, allocations: 0 / 0.739 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.2423, allocations: 5.476 MB / 0.7443 GB, free: 280 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.75, allocations: 13.8 kB / 0.7444 GB, free: 268 kB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.75309680821374] Failed to read output from testmodel.py, exit status != 0: 11.91872745892033 11.934453294 11.734499022 Calling exit ...