Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00133/0.00133, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00156/0.00156, allocations: 217.3 kB / 22.24 MB, free: 4.855 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 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8756/0.8756, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002055/0.002055, allocations: 62.81 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1705, allocations: 85.92 MB / 0.7024 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003779/0.1743, allocations: 1.765 MB / 0.7041 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1766, allocations: 1.196 MB / 0.7053 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1767, allocations: 3.938 kB / 0.7053 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.177, allocations: 59.73 kB / 0.7053 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.1774, allocations: 123.5 kB / 0.7055 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.1781, allocations: 199 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1784, allocations: 159.5 kB / 0.7058 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1785, allocations: 17.91 kB / 0.7058 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1786, allocations: 67.7 kB / 0.7059 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1787, allocations: 67.75 kB / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1788, allocations: 8 kB / 0.7059 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.179, allocations: 79.86 kB / 0.706 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.179, allocations: 39.84 kB / 0.7061 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.1791, allocations: 51.66 kB / 0.7061 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1795, allocations: 211.1 kB / 0.7063 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1795, allocations: 0 / 0.7063 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1795, allocations: 4 kB / 0.7063 GB, free: 13 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.1795, allocations: 4 kB / 0.7063 GB, free: 13 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.0007103/0.1802, allocations: 425.3 kB / 0.7067 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1803, allocations: 8.031 kB / 0.7067 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.833e-05/0.1803, allocations: 38.73 kB / 0.7068 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.1804, allocations: 20.8 kB / 0.7068 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.1808, allocations: 198.1 kB / 0.707 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1808, allocations: 12.36 kB / 0.707 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1808, allocations: 7.938 kB / 0.707 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1811, allocations: 125 kB / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1811, allocations: 0 / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1811, allocations: 0 / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1811, allocations: 4 kB / 0.7071 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1812, allocations: 39.91 kB / 0.7072 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.1818, allocations: 311.9 kB / 0.7075 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.182, allocations: 86.69 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.1821, allocations: 32.84 kB / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.1821, allocations: 0 / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.1823, allocations: 83.38 kB / 0.7077 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.1823, allocations: 4 kB / 0.7077 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003972/0.1827, allocations: 149.7 kB / 0.7078 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.1828, allocations: 81.09 kB / 0.7079 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.1831, allocations: 280.2 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1831, allocations: 25.7 kB / 0.7082 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.1832, allocations: 116.1 kB / 0.7083 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1832, allocations: 27.78 kB / 0.7083 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.1833, allocations: 25.72 kB / 0.7083 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1835, allocations: 330.8 kB / 0.7086 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.1835, allocations: 31.98 kB / 0.7087 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1837, allocations: 114.8 kB / 0.7088 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1838, allocations: 77.7 kB / 0.7089 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1839, allocations: 0 / 0.7089 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002576/0.1841, allocations: 117.5 kB / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1841, allocations: 8 kB / 0.709 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1841, allocations: 0 / 0.709 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1841, allocations: 0 / 0.709 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1842, allocations: 20 kB / 0.709 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1843, allocations: 0 / 0.709 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.1843, allocations: 15.88 kB / 0.709 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1843, allocations: 0 / 0.709 GB, free: 9.996 MB / 0.5294 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.0001547/0.1845, allocations: 141.8 kB / 0.7091 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1845, allocations: 19.84 kB / 0.7092 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.1848, allocations: 135.1 kB / 0.7093 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.1848, allocations: 4 kB / 0.7093 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1848, allocations: 0 / 0.7093 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1849, allocations: 7.938 kB / 0.7093 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1851, allocations: 184.6 kB / 0.7095 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1851, allocations: 0 / 0.7095 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.1851, allocations: 11.98 kB / 0.7095 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1851, allocations: 4 kB / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1851, allocations: 0 / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1851, allocations: 0 / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1852, allocations: 0 / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.1854, allocations: 160.8 kB / 0.7097 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.1855, allocations: 23.89 kB / 0.7097 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1855, allocations: 0 / 0.7097 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.66e-05/0.1856, allocations: 8 kB / 0.7097 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.1856, allocations: 15.92 kB / 0.7097 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1856, allocations: 4 kB / 0.7097 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002215/0.1858, allocations: 204.6 kB / 0.7099 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1858, allocations: 0 / 0.7099 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002866/0.1861, allocations: 35.94 kB / 0.7099 GB, free: 8.98 MB / 0.5294 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.002198/0.1883, allocations: 1.037 MB / 0.7109 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.1886, allocations: 71.91 kB / 0.711 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1886, allocations: 0 / 0.711 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1887, allocations: 35.92 kB / 0.711 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.189, allocations: 43.53 kB / 0.7111 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.1916, allocations: 1.994 MB / 0.713 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.1917, allocations: 118.9 kB / 0.7131 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.1918, allocations: 25.41 kB / 0.7132 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1919, allocations: 47.42 kB / 0.7132 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1919, allocations: 0 / 0.7132 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.2294, allocations: 5.481 MB / 0.7186 GB, free: 288 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.4, allocations: 9.703 kB / 0.7186 GB, free: 280 kB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.111321378033608] Failed to read output from testmodel.py, exit status != 0: 11.55933019099757 11.577289366 11.39444518 Calling exit ...