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.002194/0.002194, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002484/0.002484, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.793 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.9239/0.9239, allocations: 134 MB / 446.4 MB, free: 9.941 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.002018/0.002018, allocations: 64.62 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 85.92 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003356/0.1741, allocations: 1.758 MB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1762, allocations: 1.189 MB / 0.7053 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.1763, allocations: 3.938 kB / 0.7053 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.1766, allocations: 63.67 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.177, allocations: 127.5 kB / 0.7055 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.1775, allocations: 205 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1778, allocations: 155.5 kB / 0.7058 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1779, allocations: 17.91 kB / 0.7058 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.178, allocations: 63.77 kB / 0.7059 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1781, allocations: 75.67 kB / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1781, allocations: 4 kB / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.1783, allocations: 75.88 kB / 0.706 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.1784, allocations: 47.84 kB / 0.7061 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.1784, allocations: 43.73 kB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1788, allocations: 211.1 kB / 0.7063 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1788, allocations: 3.938 kB / 0.7063 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1788, allocations: 0 / 0.7063 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.1788, allocations: 0 / 0.7063 GB, free: 13.02 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.0007052/0.1795, allocations: 430.8 kB / 0.7067 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1795, allocations: 12.03 kB / 0.7067 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1796, allocations: 34.75 kB / 0.7068 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.1796, allocations: 20.8 kB / 0.7068 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.18, allocations: 198.2 kB / 0.707 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.18, allocations: 8.312 kB / 0.707 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.18, allocations: 11.92 kB / 0.707 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1803, allocations: 113.1 kB / 0.7071 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1803, allocations: 0 / 0.7071 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1803, allocations: 0 / 0.7071 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1803, allocations: 3.984 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1804, allocations: 39.92 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.181, allocations: 311.9 kB / 0.7074 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1812, allocations: 82.7 kB / 0.7075 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/0.1813, allocations: 40.83 kB / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1813, allocations: 0 / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1815, allocations: 83.36 kB / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1815, allocations: 0 / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003824/0.1819, allocations: 149.5 kB / 0.7078 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.1819, allocations: 85.05 kB / 0.7079 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.1823, allocations: 276.2 kB / 0.7081 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1823, allocations: 29.7 kB / 0.7082 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1824, allocations: 124.1 kB / 0.7083 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1824, allocations: 19.8 kB / 0.7083 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.1825, allocations: 33.64 kB / 0.7083 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1826, allocations: 330.8 kB / 0.7086 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.1827, allocations: 23.98 kB / 0.7087 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1829, allocations: 122.8 kB / 0.7088 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.183, allocations: 73.62 kB / 0.7089 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.183, allocations: 3.984 kB / 0.7089 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002284/0.1833, allocations: 109.6 kB / 0.709 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1833, allocations: 8.062 kB / 0.709 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1833, allocations: 4 kB / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1833, allocations: 0 / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1834, allocations: 15.92 kB / 0.709 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1834, allocations: 4 kB / 0.709 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.1835, allocations: 7.891 kB / 0.709 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1835, allocations: 8 kB / 0.709 GB, free: 10.01 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.0001516/0.1836, allocations: 141.8 kB / 0.7091 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1837, allocations: 15.91 kB / 0.7092 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.184, allocations: 139 kB / 0.7093 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.184, allocations: 4 kB / 0.7093 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.184, allocations: 0 / 0.7093 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.184, allocations: 7.922 kB / 0.7093 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.1842, allocations: 188.6 kB / 0.7095 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1842, allocations: 0 / 0.7095 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.1843, allocations: 4 kB / 0.7095 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1843, allocations: 0 / 0.7095 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1843, allocations: 8 kB / 0.7095 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1843, allocations: 0 / 0.7095 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1843, allocations: 7.984 kB / 0.7095 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1846, allocations: 156.8 kB / 0.7096 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.1846, allocations: 15.91 kB / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1846, allocations: 0 / 0.7097 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.1847, allocations: 8 kB / 0.7097 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.1848, allocations: 11.92 kB / 0.7097 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1848, allocations: 4.172 kB / 0.7097 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002541/0.185, allocations: 204.6 kB / 0.7099 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.185, allocations: 3.938 kB / 0.7099 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002636/0.1853, allocations: 39.92 kB / 0.7099 GB, free: 8.992 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.002125/0.1874, allocations: 1.036 MB / 0.7109 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.1876, allocations: 71.89 kB / 0.711 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1877, allocations: 0 / 0.711 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1878, allocations: 39.91 kB / 0.711 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.188, allocations: 42.28 kB / 0.7111 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1905, allocations: 1.998 MB / 0.713 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.1906, allocations: 114.6 kB / 0.7131 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.1907, allocations: 21.36 kB / 0.7132 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.1908, allocations: 55.41 kB / 0.7132 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.1908, allocations: 0 / 0.7132 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.2341, allocations: 5.492 MB / 0.7186 GB, free: 292 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.41, allocations: 13.47 kB / 0.7186 GB, free: 284 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 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.314283390995115] Failed to read output from testmodel.py, exit status != 0: 11.576723159756511 11.593362777 11.411452102 Calling exit ...