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.001646/0.001646, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002442/0.002442, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8626/0.8626, allocations: 134 MB / 447.2 MB, free: 10.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",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.001944/0.001944, allocations: 61.39 kB / 0.6193 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1722, allocations: 85.9 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003189/0.1754, allocations: 1.811 MB / 0.705 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1774, allocations: 1.287 MB / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.1775, allocations: 4 kB / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1777, allocations: 59.67 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.178, allocations: 123.5 kB / 0.7064 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.1786, allocations: 198.5 kB / 0.7066 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1788, allocations: 159.5 kB / 0.7068 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.1789, allocations: 21.84 kB / 0.7068 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.179, allocations: 71.69 kB / 0.7068 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1791, allocations: 67.75 kB / 0.7069 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1791, allocations: 8 kB / 0.7069 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1793, allocations: 79.86 kB / 0.707 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.1794, allocations: 47.84 kB / 0.707 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.03e-05/0.1795, allocations: 67.59 kB / 0.7071 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.1797, allocations: 211.1 kB / 0.7073 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1797, allocations: 0 / 0.7073 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1797, allocations: 0 / 0.7073 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.1798, allocations: 0 / 0.7073 GB, free: 13.18 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.0006405/0.1804, allocations: 422.9 kB / 0.7077 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1804, allocations: 12.03 kB / 0.7077 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.197e-05/0.1804, allocations: 8.125 kB / 0.7077 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.1805, allocations: 38.73 kB / 0.7078 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.1805, allocations: 20.8 kB / 0.7078 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1809, allocations: 198.1 kB / 0.708 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1809, allocations: 8.125 kB / 0.708 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1809, allocations: 4 kB / 0.708 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1811, allocations: 92.23 kB / 0.7081 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1811, allocations: 4 kB / 0.7081 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1811, allocations: 0 / 0.7081 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.1811, allocations: 4 kB / 0.7081 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1813, allocations: 35.91 kB / 0.7081 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.1818, allocations: 327.8 kB / 0.7084 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.182, allocations: 86.69 kB / 0.7085 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.1821, allocations: 32.84 kB / 0.7085 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1821, allocations: 4 kB / 0.7085 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1823, allocations: 79.36 kB / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.1823, allocations: 0 / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004024/0.1827, allocations: 149.4 kB / 0.7088 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.1828, allocations: 102.8 kB / 0.7089 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.1831, allocations: 280.2 kB / 0.7091 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1831, allocations: 33.69 kB / 0.7092 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1832, allocations: 116.1 kB / 0.7093 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1833, allocations: 23.8 kB / 0.7093 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.1833, allocations: 25.7 kB / 0.7093 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1835, allocations: 326.8 kB / 0.7096 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.1836, allocations: 27.98 kB / 0.7097 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1837, allocations: 72.27 kB / 0.7097 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1838, allocations: 69.64 kB / 0.7098 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1838, allocations: 0 / 0.7098 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002415/0.1841, allocations: 121.4 kB / 0.7099 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1841, allocations: 7.984 kB / 0.7099 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1841, allocations: 48 / 0.7099 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1841, allocations: 12.02 kB / 0.7099 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1842, allocations: 8 kB / 0.7099 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1842, allocations: 7.938 kB / 0.7099 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.1843, allocations: 15.88 kB / 0.71 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1843, allocations: 8 kB / 0.71 GB, free: 10.21 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.0001535/0.1845, allocations: 137.8 kB / 0.7101 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1845, allocations: 15.91 kB / 0.7101 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1848, allocations: 123 kB / 0.7102 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1848, allocations: 8 kB / 0.7102 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1848, allocations: 3.938 kB / 0.7102 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1848, allocations: 0 / 0.7102 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.185, allocations: 192.7 kB / 0.7104 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.185, allocations: 0 / 0.7104 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.1851, allocations: 15.98 kB / 0.7104 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1851, allocations: 0 / 0.7104 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1851, allocations: 0 / 0.7104 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1851, allocations: 0 / 0.7104 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1851, allocations: 3.938 kB / 0.7104 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1854, allocations: 149.4 kB / 0.7106 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.1854, allocations: 15.91 kB / 0.7106 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1854, allocations: 4 kB / 0.7106 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.1855, allocations: 7.984 kB / 0.7106 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1855, allocations: 11.92 kB / 0.7106 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1856, allocations: 4 kB / 0.7106 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000212/0.1858, allocations: 200.6 kB / 0.7108 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1858, allocations: 4 kB / 0.7108 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002761/0.186, allocations: 36.11 kB / 0.7109 GB, free: 9.219 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 (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.001995/0.188, allocations: 1.006 MB / 0.7118 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1883, allocations: 63.97 kB / 0.7119 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1883, allocations: 4 kB / 0.7119 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.1884, allocations: 31.92 kB / 0.7119 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1887, allocations: 48.66 kB / 0.712 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1912, allocations: 1.982 MB / 0.7139 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1916, allocations: 0.728 MB / 0.7146 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.236e-05/0.1917, allocations: 25.38 kB / 0.7146 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.1918, allocations: 51.41 kB / 0.7147 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.1918, allocations: 0 / 0.7147 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.2185, allocations: 4.998 MB / 0.7196 GB, free: 436 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.35, allocations: 8 kB / 0.7196 GB, free: 428 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 os._exit(0), Time elapsed: 15.189063424943015] Failed to read output from testmodel.py, exit status != 0: 11.574381854967214 11.601466441 11.416996784 Calling exit ...