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.001828/0.001828, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002438/0.002438, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8817/0.8817, allocations: 134 MB / 447.2 MB, free: 9.965 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.001988/0.001988, allocations: 71.73 kB / 0.6193 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1848, allocations: 85.9 MB / 0.7031 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004319/0.1891, allocations: 1.773 MB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1916, allocations: 1.182 MB / 0.706 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1917, allocations: 3.938 kB / 0.706 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.1921, allocations: 59.73 kB / 0.7061 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.1926, allocations: 123.5 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.1933, allocations: 196.8 kB / 0.7064 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.1936, allocations: 163.5 kB / 0.7065 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1937, allocations: 17.84 kB / 0.7066 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1938, allocations: 67.77 kB / 0.7066 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.194, allocations: 75.67 kB / 0.7067 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.194, allocations: 8 kB / 0.7067 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1942, allocations: 87.86 kB / 0.7068 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.1943, allocations: 35.91 kB / 0.7068 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.1944, allocations: 55.66 kB / 0.7069 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1948, allocations: 207.1 kB / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1948, allocations: 0 / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1948, allocations: 0 / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1948, allocations: 0 / 0.7071 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.0007521/0.1955, allocations: 426.9 kB / 0.7075 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1956, allocations: 12.03 kB / 0.7075 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/0.1956, allocations: 8.172 kB / 0.7075 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.1956, allocations: 42.73 kB / 0.7075 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.1957, allocations: 20.8 kB / 0.7076 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.1961, allocations: 202 kB / 0.7078 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1961, allocations: 4.125 kB / 0.7078 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1962, allocations: 4 kB / 0.7078 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.1964, allocations: 143.6 kB / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1964, allocations: 7.938 kB / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1965, allocations: 0 / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1965, allocations: 0 / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1966, allocations: 43.97 kB / 0.708 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.1971, allocations: 307.9 kB / 0.7082 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1974, allocations: 86.69 kB / 0.7083 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.1975, allocations: 32.84 kB / 0.7084 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1975, allocations: 0 / 0.7084 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1977, allocations: 87.34 kB / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1977, allocations: 0 / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004054/0.1981, allocations: 145.5 kB / 0.7086 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1982, allocations: 114.8 kB / 0.7087 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.1986, allocations: 280.1 kB / 0.709 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1986, allocations: 29.7 kB / 0.709 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1987, allocations: 124 kB / 0.7091 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1987, allocations: 23.84 kB / 0.7091 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.1988, allocations: 25.7 kB / 0.7092 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002386/0.199, allocations: 330.8 kB / 0.7095 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.1991, allocations: 23.98 kB / 0.7095 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1993, allocations: 149.4 kB / 0.7096 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1994, allocations: 73.64 kB / 0.7097 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1994, allocations: 0 / 0.7097 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002525/0.1997, allocations: 121.5 kB / 0.7098 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1997, allocations: 4 kB / 0.7098 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1997, allocations: 4 kB / 0.7098 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1997, allocations: 3.938 kB / 0.7098 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1998, allocations: 15.98 kB / 0.7098 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1998, allocations: 3.938 kB / 0.7099 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.1999, allocations: 15.89 kB / 0.7099 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1999, allocations: 8.031 kB / 0.7099 GB, free: 9.879 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.0001543/0.2001, allocations: 141.8 kB / 0.71 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.2001, allocations: 15.91 kB / 0.71 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.2004, allocations: 131 kB / 0.7101 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.2004, allocations: 0 / 0.7101 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2004, allocations: 3.938 kB / 0.7102 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.2004, allocations: 12.02 kB / 0.7102 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2007, allocations: 184.7 kB / 0.7103 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2007, allocations: 0 / 0.7103 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.2007, allocations: 8 kB / 0.7103 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2007, allocations: 0 / 0.7103 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2007, allocations: 7.938 kB / 0.7104 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2007, allocations: 0 / 0.7104 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.2008, allocations: 7.922 kB / 0.7104 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.201, allocations: 153.1 kB / 0.7105 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.2011, allocations: 15.91 kB / 0.7105 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.2011, allocations: 4 kB / 0.7105 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.2012, allocations: 7.984 kB / 0.7105 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.2012, allocations: 11.92 kB / 0.7105 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.2012, allocations: 11.92 kB / 0.7106 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002431/0.2015, allocations: 204.6 kB / 0.7108 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2015, allocations: 0 / 0.7108 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000265/0.2017, allocations: 39.92 kB / 0.7108 GB, free: 8.863 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.002194/0.2039, allocations: 1.033 MB / 0.7118 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.2042, allocations: 63.97 kB / 0.7119 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2042, allocations: 0 / 0.7119 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2043, allocations: 47.91 kB / 0.7119 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2046, allocations: 46.94 kB / 0.712 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.2071, allocations: 1.99 MB / 0.7139 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2073, allocations: 110.6 kB / 0.714 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.054e-05/0.2073, allocations: 25.08 kB / 0.714 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2074, allocations: 55.41 kB / 0.7141 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2075, allocations: 0 / 0.7141 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.2355, allocations: 5.23 MB / 0.7192 GB, free: 464 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.56, allocations: 14.33 kB / 0.7192 GB, free: 452 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.324232561979443] Failed to read output from testmodel.py, exit status != 0: 11.770142453024164 11.788073707 11.589838699 Calling exit ...