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.001329/0.001329, 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.001511/0.001511, 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9692/0.9692, allocations: 149.9 MB / 463.1 MB, free: 10.33 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.002078/0.002078, allocations: 70.77 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1704, allocations: 89.17 MB / 0.7282 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003784/0.1742, allocations: 1.777 MB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1767, allocations: 1.181 MB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.1769, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.1773, allocations: 67.66 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00056/0.1778, allocations: 119.5 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.1787, allocations: 198.1 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.1791, allocations: 159.6 kB / 0.7316 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1792, allocations: 17.62 kB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1794, allocations: 67.69 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1796, allocations: 71.69 kB / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.1797, allocations: 8 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.18, allocations: 83.92 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1801, allocations: 35.84 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1802, allocations: 43.67 kB / 0.7319 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.1806, allocations: 211.5 kB / 0.7321 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1806, allocations: 0 / 0.7321 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1806, allocations: 4 kB / 0.7321 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.1806, allocations: 4 kB / 0.7321 GB, free: 13 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.0007554/0.1813, allocations: 434.8 kB / 0.7325 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1814, allocations: 8.031 kB / 0.7325 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.1814, allocations: 30.75 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.1815, allocations: 20.83 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.1819, allocations: 190.2 kB / 0.7327 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.182, allocations: 8.375 kB / 0.7327 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.182, allocations: 7.938 kB / 0.7328 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.1823, allocations: 121 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1823, allocations: 3.984 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1823, allocations: 0 / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.1823, allocations: 8 kB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1824, allocations: 31.97 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.1831, allocations: 319.8 kB / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1834, allocations: 82.66 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.1835, allocations: 32.84 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1835, allocations: 0 / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1837, allocations: 91.41 kB / 0.7334 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.265e-06/0.1837, allocations: 0 / 0.7334 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004739/0.1842, allocations: 145.5 kB / 0.7336 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.1843, allocations: 77.11 kB / 0.7336 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.1846, allocations: 283 kB / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1847, allocations: 25.7 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1848, allocations: 120.1 kB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1848, allocations: 27.78 kB / 0.7341 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.1849, allocations: 21.72 kB / 0.7341 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.185, allocations: 338.8 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.1851, allocations: 27.92 kB / 0.7344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1852, allocations: 118.8 kB / 0.7345 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1854, allocations: 73.67 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1854, allocations: 0 / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002588/0.1857, allocations: 117.5 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1857, allocations: 8 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1857, allocations: 3.984 kB / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1857, allocations: 0 / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1858, allocations: 16.06 kB / 0.7348 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1858, allocations: 0 / 0.7348 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.1859, allocations: 11.94 kB / 0.7348 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1859, allocations: 4.375 kB / 0.7348 GB, free: 10 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.0001589/0.1861, allocations: 146.7 kB / 0.7349 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1861, allocations: 19.86 kB / 0.7349 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.1865, allocations: 131 kB / 0.7351 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.1865, allocations: 4 kB / 0.7351 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1865, allocations: 0 / 0.7351 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1865, allocations: 7.938 kB / 0.7351 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.1867, allocations: 192.6 kB / 0.7352 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1867, allocations: 0 / 0.7352 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.1868, allocations: 11.98 kB / 0.7353 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1868, allocations: 0 / 0.7353 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1868, allocations: 0 / 0.7353 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1868, allocations: 0 / 0.7353 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1868, allocations: 0 / 0.7353 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1871, allocations: 157 kB / 0.7354 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1871, allocations: 19.86 kB / 0.7354 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1871, allocations: 11.98 kB / 0.7354 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.1872, allocations: 4 kB / 0.7354 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.1873, allocations: 11.92 kB / 0.7355 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1873, allocations: 8 kB / 0.7355 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002164/0.1875, allocations: 204.5 kB / 0.7357 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1875, allocations: 0 / 0.7357 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002703/0.1878, allocations: 35.94 kB / 0.7357 GB, free: 8.98 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.002227/0.19, allocations: 1.041 MB / 0.7367 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.1903, allocations: 79.89 kB / 0.7368 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1903, allocations: 0 / 0.7368 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1904, allocations: 35.98 kB / 0.7368 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1907, allocations: 48.41 kB / 0.7369 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1932, allocations: 1.989 MB / 0.7388 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.1933, allocations: 114.6 kB / 0.7389 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.341e-05/0.1934, allocations: 25.72 kB / 0.7389 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.1935, allocations: 47.42 kB / 0.739 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.1935, allocations: 0 / 0.739 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.2359, allocations: 5.488 MB / 0.7443 GB, free: 308 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.61, allocations: 0 / 0.7443 GB, free: 308 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.444229711778462] Failed to read output from testmodel.py, exit status != 0: 11.780179819092155 11.803761746 11.619784965 Calling exit ...