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.001321/0.001321, allocations: 117.9 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.00144/0.00144, allocations: 219.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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9707/0.9707, allocations: 150 MB / 463.2 MB, free: 10.58 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.002014/0.002014, allocations: 65.48 kB / 0.6413 GB, free: 10.54 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 89.17 MB / 0.7284 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00314/0.181, allocations: 1.808 MB / 0.7301 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1831, allocations: 1.278 MB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.883e-05/0.1832, allocations: 0 / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1835, allocations: 63.67 kB / 0.7314 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1838, allocations: 119.5 kB / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1844, allocations: 195.3 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.1846, allocations: 163.5 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.1847, allocations: 17.56 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1848, allocations: 71.7 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1849, allocations: 71.73 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.185, allocations: 4 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.1851, allocations: 91.86 kB / 0.7321 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.1852, allocations: 39.84 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.1853, allocations: 59.61 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1856, allocations: 207.5 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.1856, allocations: 7.938 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1856, allocations: 0 / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.1856, allocations: 0 / 0.7324 GB, free: 13.22 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.0006747/0.1863, allocations: 426.9 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1863, allocations: 8.031 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1864, allocations: 38.75 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1864, allocations: 16.84 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1868, allocations: 198.1 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1868, allocations: 4.375 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1868, allocations: 11.94 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.187, allocations: 92.17 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1871, allocations: 0 / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1871, allocations: 3.984 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.1871, allocations: 4 kB / 0.7332 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1872, allocations: 35.92 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.1877, allocations: 335.8 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1879, allocations: 78.77 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.188, allocations: 32.78 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.188, allocations: 3.984 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.1882, allocations: 83.39 kB / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.1882, allocations: 0 / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003636/0.1886, allocations: 145.5 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.1887, allocations: 106.8 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.189, allocations: 287 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.189, allocations: 25.7 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.1891, allocations: 116.1 kB / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1891, allocations: 23.84 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1891, allocations: 33.66 kB / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1893, allocations: 330.8 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.1894, allocations: 23.98 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1895, allocations: 68.28 kB / 0.7348 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1896, allocations: 73.62 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1896, allocations: 0 / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002294/0.1899, allocations: 113.6 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1899, allocations: 8 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1899, allocations: 0 / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1899, allocations: 0 / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.19, allocations: 19.92 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.19, allocations: 3.938 kB / 0.7351 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.1901, allocations: 15.88 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1901, allocations: 4.031 kB / 0.7351 GB, free: 10.26 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.0001423/0.1902, allocations: 142.8 kB / 0.7352 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1903, allocations: 19.86 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.1905, allocations: 123 kB / 0.7354 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1905, allocations: 4 kB / 0.7354 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1905, allocations: 0 / 0.7354 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1905, allocations: 3.938 kB / 0.7354 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.1908, allocations: 200.6 kB / 0.7355 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1908, allocations: 4 kB / 0.7356 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.1908, allocations: 4 kB / 0.7356 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1908, allocations: 0 / 0.7356 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1908, allocations: 4 kB / 0.7356 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1908, allocations: 0 / 0.7356 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1908, allocations: 0 / 0.7356 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1911, allocations: 141 kB / 0.7357 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.1911, allocations: 19.89 kB / 0.7357 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1911, allocations: 15.97 kB / 0.7357 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.1912, allocations: 4 kB / 0.7357 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.1912, allocations: 19.86 kB / 0.7358 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1913, allocations: 4 kB / 0.7358 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002054/0.1915, allocations: 204.5 kB / 0.736 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 0.736 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002588/0.1917, allocations: 39.89 kB / 0.736 GB, free: 9.254 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 (7): * Single equations (assignments): 4 * 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.002015/0.1937, allocations: 0.9948 MB / 0.737 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.194, allocations: 71.89 kB / 0.737 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.194, allocations: 0 / 0.737 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.1941, allocations: 35.97 kB / 0.7371 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1944, allocations: 47.67 kB / 0.7371 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.1967, allocations: 1.986 MB / 0.739 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1971, allocations: 0.7202 MB / 0.7398 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.215e-05/0.1972, allocations: 29.38 kB / 0.7398 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.1973, allocations: 51.41 kB / 0.7398 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.1973, allocations: 0 / 0.7398 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.2299, allocations: 4.959 MB / 0.7447 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.4, allocations: 9.047 kB / 0.7447 GB, free: 0.5 MB / 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.441946826998901] Failed to read output from testmodel.py, exit status != 0: 11.567918845001259 11.597750285 11.406266166 Calling exit ...