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.001269/0.001269, allocations: 114.3 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.002109/0.002109, allocations: 215.5 kB / 22.26 MB, free: 5.082 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.023 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.883/0.883, allocations: 134 MB / 446.4 MB, free: 10.25 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.002013/0.002013, allocations: 75 kB / 0.6186 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1966, allocations: 85.9 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003834/0.2004, allocations: 1.818 MB / 0.7042 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002458/0.2029, allocations: 1.279 MB / 0.7055 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.203, allocations: 0 / 0.7055 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.2034, allocations: 63.67 kB / 0.7055 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.2038, allocations: 131.5 kB / 0.7057 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.2044, allocations: 192.7 kB / 0.7058 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2047, allocations: 159.5 kB / 0.706 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2048, allocations: 13.91 kB / 0.706 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.205, allocations: 71.7 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2051, allocations: 71.73 kB / 0.7061 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2052, allocations: 4 kB / 0.7061 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.2054, allocations: 87.86 kB / 0.7062 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.2055, allocations: 39.84 kB / 0.7063 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.2056, allocations: 71.59 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.206, allocations: 207.2 kB / 0.7065 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.206, allocations: 0 / 0.7065 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.206, allocations: 3.938 kB / 0.7065 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.206, allocations: 0 / 0.7065 GB, free: 13.2 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.0008995/0.2069, allocations: 422.9 kB / 0.7069 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.207, allocations: 11.97 kB / 0.7069 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.207, allocations: 38.75 kB / 0.707 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.2071, allocations: 24.78 kB / 0.707 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.2075, allocations: 194.2 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2075, allocations: 4.375 kB / 0.7072 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2075, allocations: 7.938 kB / 0.7072 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.2078, allocations: 96.16 kB / 0.7073 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2078, allocations: 0 / 0.7073 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2078, allocations: 0 / 0.7073 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.2078, allocations: 4 kB / 0.7073 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.2079, allocations: 39.92 kB / 0.7073 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.2085, allocations: 335.7 kB / 0.7077 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.2088, allocations: 82.66 kB / 0.7077 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.2088, allocations: 32.88 kB / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2088, allocations: 0 / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.209, allocations: 83.38 kB / 0.7079 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.209, allocations: 0 / 0.7079 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004019/0.2094, allocations: 137.5 kB / 0.708 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.2095, allocations: 106.8 kB / 0.7081 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.2098, allocations: 280.1 kB / 0.7084 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.2099, allocations: 25.7 kB / 0.7084 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.21, allocations: 128.1 kB / 0.7085 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.21, allocations: 19.84 kB / 0.7085 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.2101, allocations: 29.7 kB / 0.7085 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2102, allocations: 330.8 kB / 0.7089 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.2103, allocations: 23.98 kB / 0.7089 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2104, allocations: 68.27 kB / 0.7089 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.2106, allocations: 73.94 kB / 0.709 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2106, allocations: 0 / 0.709 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002349/0.2108, allocations: 113.5 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2108, allocations: 8 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2108, allocations: 0 / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2109, allocations: 0 / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.211, allocations: 23.92 kB / 0.7092 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.211, allocations: 0 / 0.7092 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.2111, allocations: 23.86 kB / 0.7092 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.2111, allocations: 3.984 kB / 0.7092 GB, free: 10.25 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.0001553/0.2112, allocations: 145.8 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.2113, allocations: 15.91 kB / 0.7093 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.2115, allocations: 119 kB / 0.7095 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.2115, allocations: 4 kB / 0.7095 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2115, allocations: 0 / 0.7095 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2115, allocations: 7.922 kB / 0.7095 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2118, allocations: 200.7 kB / 0.7097 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2118, allocations: 0 / 0.7097 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.2118, allocations: 4 kB / 0.7097 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2118, allocations: 0 / 0.7097 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2118, allocations: 8.172 kB / 0.7097 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2118, allocations: 0 / 0.7097 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2118, allocations: 3.938 kB / 0.7097 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.2121, allocations: 148.9 kB / 0.7098 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.2121, allocations: 19.91 kB / 0.7098 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.2122, allocations: 4 kB / 0.7098 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.2122, allocations: 0 / 0.7098 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.2123, allocations: 15.92 kB / 0.7098 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2123, allocations: 7.938 kB / 0.7099 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002259/0.2125, allocations: 204.6 kB / 0.7101 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2125, allocations: 0 / 0.7101 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000281/0.2128, allocations: 39.92 kB / 0.7101 GB, free: 9.242 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.002207/0.215, allocations: 0.9963 MB / 0.7111 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.2153, allocations: 71.89 kB / 0.7111 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2153, allocations: 0 / 0.7111 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.2154, allocations: 28.14 kB / 0.7112 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.2157, allocations: 56.47 kB / 0.7112 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.2184, allocations: 1.978 MB / 0.7131 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.2188, allocations: 0.7241 MB / 0.7139 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.2189, allocations: 29.06 kB / 0.7139 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.219, allocations: 51.42 kB / 0.7139 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.219, allocations: 0 / 0.7139 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.2572, allocations: 4.959 MB / 0.7188 GB, free: 492 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.28, allocations: 12.8 kB / 0.7188 GB, free: 484 kB / 0.5294 GB " [Timeout remaining time 649] (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.046750308945775] Failed to read output from testmodel.py, exit status != 0: 11.444009019993246 11.470962139 11.260181069 Calling exit ...