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.00172/0.00172, allocations: 113 kB / 18.94 MB, free: 2.934 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.002082/0.002082, allocations: 207 kB / 22.25 MB, free: 5.086 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.047 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.8516/0.8516, allocations: 134 MB / 446.4 MB, free: 10.28 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.001994/0.001994, allocations: 65.59 kB / 0.6185 GB, free: 7.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1962, allocations: 85.91 MB / 0.7024 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003722/0.1999, allocations: 1.803 MB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2022, allocations: 1.298 MB / 0.7055 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2023, allocations: 3.938 kB / 0.7055 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.2027, allocations: 59.73 kB / 0.7055 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.2031, allocations: 123.5 kB / 0.7056 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.2037, allocations: 204.7 kB / 0.7058 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.204, allocations: 151.6 kB / 0.706 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2041, allocations: 21.89 kB / 0.706 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2042, allocations: 71.7 kB / 0.7061 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2044, allocations: 67.69 kB / 0.7061 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.2044, allocations: 8 kB / 0.7061 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.2046, allocations: 83.92 kB / 0.7062 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.2047, allocations: 39.84 kB / 0.7063 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.2047, allocations: 67.53 kB / 0.7063 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.2051, allocations: 211.2 kB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2051, allocations: 0 / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2051, allocations: 0 / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2051, allocations: 0 / 0.7065 GB, free: 13.23 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.0007552/0.2058, allocations: 422.9 kB / 0.7069 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2059, allocations: 15.97 kB / 0.7069 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.2059, allocations: 46.73 kB / 0.707 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.206, allocations: 20.8 kB / 0.707 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2064, allocations: 198.1 kB / 0.7072 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2064, allocations: 4.375 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.2064, allocations: 7.938 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.2067, allocations: 96.17 kB / 0.7073 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2067, allocations: 0 / 0.7073 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2067, allocations: 0 / 0.7073 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2067, allocations: 4 kB / 0.7073 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2068, allocations: 35.97 kB / 0.7073 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.2074, allocations: 331.7 kB / 0.7077 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.2076, allocations: 82.66 kB / 0.7077 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.607e-05/0.2077, allocations: 28.84 kB / 0.7078 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2077, allocations: 4 kB / 0.7078 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.2079, allocations: 79.38 kB / 0.7078 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2079, allocations: 96 / 0.7078 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003838/0.2083, allocations: 153.4 kB / 0.708 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.2084, allocations: 106.8 kB / 0.7081 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2087, allocations: 276.2 kB / 0.7084 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2087, allocations: 33.7 kB / 0.7084 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.2088, allocations: 116.1 kB / 0.7085 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.2088, allocations: 19.86 kB / 0.7085 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.2089, allocations: 25.7 kB / 0.7085 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2091, allocations: 326.8 kB / 0.7089 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.2091, allocations: 27.98 kB / 0.7089 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2092, allocations: 76.2 kB / 0.709 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.2094, allocations: 65.7 kB / 0.709 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2094, allocations: 0 / 0.709 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002339/0.2096, allocations: 125.7 kB / 0.7091 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2096, allocations: 7.984 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2097, allocations: 0 / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2097, allocations: 4 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.2098, allocations: 12.03 kB / 0.7092 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2098, allocations: 0 / 0.7092 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.2098, allocations: 19.81 kB / 0.7092 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2099, allocations: 4 kB / 0.7092 GB, free: 10.27 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.0001449/0.21, allocations: 145.8 kB / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.21, allocations: 15.91 kB / 0.7093 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.2103, allocations: 119 kB / 0.7095 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.2103, allocations: 0 / 0.7095 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2103, allocations: 8 kB / 0.7095 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2103, allocations: 3.938 kB / 0.7095 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.2106, allocations: 196.7 kB / 0.7097 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2106, allocations: 0 / 0.7097 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.2106, allocations: 11.98 kB / 0.7097 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2106, allocations: 0 / 0.7097 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2106, allocations: 4 kB / 0.7097 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2106, allocations: 0 / 0.7097 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2106, allocations: 0 / 0.7097 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.2109, allocations: 152.8 kB / 0.7098 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.2109, allocations: 19.94 kB / 0.7098 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.211, allocations: 4 kB / 0.7098 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.211, allocations: 8.172 kB / 0.7098 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.2111, allocations: 7.922 kB / 0.7098 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.2111, allocations: 7.938 kB / 0.7099 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002126/0.2113, allocations: 204.6 kB / 0.7101 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2113, allocations: 0 / 0.7101 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002641/0.2115, allocations: 39.91 kB / 0.7101 GB, free: 9.262 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.002049/0.2136, allocations: 0.9972 MB / 0.7111 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.2138, allocations: 59.97 kB / 0.7111 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2138, allocations: 64 / 0.7111 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.2139, allocations: 39.92 kB / 0.7112 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.2143, allocations: 46.7 kB / 0.7112 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.2168, allocations: 1.983 MB / 0.7131 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.2172, allocations: 0.728 MB / 0.7139 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.809e-05/0.2173, allocations: 17.08 kB / 0.7139 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2174, allocations: 51.41 kB / 0.7139 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2174, allocations: 0 / 0.7139 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.2544, allocations: 4.966 MB / 0.7188 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.37, allocations: 11.06 kB / 0.7188 GB, free: 0.4961 MB / 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.2597876140062] Failed to read output from testmodel.py, exit status != 0: 11.534401165001327 11.560644593 11.35072352 Calling exit ...