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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 191.5 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 251 MB, free: 13.2 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.9452/0.9452, allocations: 134 MB / 440.3 MB, free: 192 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 60.19 kB / 0.6107 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2079, allocations: 84.73 MB / 0.6935 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003565/0.2115, allocations: 1.779 MB / 0.6952 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.2138, allocations: 1.15 MB / 0.6963 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.2139, allocations: 3.938 kB / 0.6963 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.2142, allocations: 55.73 kB / 0.6964 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.2146, allocations: 79.67 kB / 0.6965 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.2153, allocations: 231.6 kB / 0.6967 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.2155, allocations: 143.6 kB / 0.6968 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.2157, allocations: 25.28 kB / 0.6969 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2158, allocations: 63.7 kB / 0.6969 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.2159, allocations: 67.73 kB / 0.697 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.2159, allocations: 8 kB / 0.697 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.2162, allocations: 87.86 kB / 0.6971 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.2162, allocations: 35.86 kB / 0.6971 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.72e-05/0.2163, allocations: 59.61 kB / 0.6972 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.2167, allocations: 203.2 kB / 0.6974 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2167, allocations: 0 / 0.6974 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2167, allocations: 0 / 0.6974 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.2168, allocations: 0 / 0.6974 GB, free: 4.984 MB / 0.5137 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.0008763/0.2176, allocations: 426.9 kB / 0.6978 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.2177, allocations: 12.03 kB / 0.6978 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.2178, allocations: 16.8 kB / 0.6978 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.2182, allocations: 183.3 kB / 0.698 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2182, allocations: 12.38 kB / 0.698 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.2182, allocations: 8.125 kB / 0.698 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.2186, allocations: 96.16 kB / 0.6981 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2186, allocations: 0 / 0.6981 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2186, allocations: 4 kB / 0.6981 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.2186, allocations: 0 / 0.6981 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2187, allocations: 39.91 kB / 0.6981 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.2194, allocations: 335.6 kB / 0.6984 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.2196, allocations: 82.66 kB / 0.6985 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.2197, allocations: 28.84 kB / 0.6985 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.2197, allocations: 0 / 0.6985 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.22, allocations: 87.41 kB / 0.6986 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.22, allocations: 4 kB / 0.6986 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004458/0.2204, allocations: 137.8 kB / 0.6988 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.2205, allocations: 102.8 kB / 0.6989 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.2209, allocations: 263 kB / 0.6991 GB, free: 3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.2209, allocations: 25.7 kB / 0.6991 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.221, allocations: 120.1 kB / 0.6993 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.221, allocations: 23.89 kB / 0.6993 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.2211, allocations: 21.72 kB / 0.6993 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.2213, allocations: 342.7 kB / 0.6996 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.2214, allocations: 23.98 kB / 0.6996 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2215, allocations: 64.28 kB / 0.6997 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.2217, allocations: 81.73 kB / 0.6998 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2217, allocations: 0 / 0.6998 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002481/0.222, allocations: 113.5 kB / 0.6999 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.222, allocations: 4 kB / 0.6999 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.222, allocations: 4 kB / 0.6999 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.222, allocations: 0 / 0.6999 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2221, allocations: 15.98 kB / 0.6999 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2222, allocations: 7.938 kB / 0.6999 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.2222, allocations: 7.875 kB / 0.6999 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2222, allocations: 12.03 kB / 0.6999 GB, free: 2.098 MB / 0.5137 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.0001637/0.2224, allocations: 143.6 kB / 0.7001 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.2224, allocations: 15.91 kB / 0.7001 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.2227, allocations: 123 kB / 0.7002 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.2227, allocations: 0 / 0.7002 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2228, allocations: 4 kB / 0.7002 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2228, allocations: 3.938 kB / 0.7002 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.223, allocations: 192.6 kB / 0.7004 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.223, allocations: 4.047 kB / 0.7004 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.223, allocations: 20.09 kB / 0.7004 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.223, allocations: 0 / 0.7004 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2231, allocations: 7.938 kB / 0.7004 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2231, allocations: 0 / 0.7004 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2231, allocations: 0 / 0.7004 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.2233, allocations: 144.9 kB / 0.7006 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.2234, allocations: 11.91 kB / 0.7006 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2234, allocations: 12 kB / 0.7006 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.2235, allocations: 3.984 kB / 0.7006 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2235, allocations: 7.984 kB / 0.7006 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.2235, allocations: 11.94 kB / 0.7006 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002137/0.2238, allocations: 192.4 kB / 0.7008 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2238, allocations: 0 / 0.7008 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002751/0.224, allocations: 35.92 kB / 0.7008 GB, free: 1.109 MB / 0.5137 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.001636/0.2257, allocations: 439.2 kB / 0.7013 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.226, allocations: 59.97 kB / 0.7013 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.226, allocations: 4 kB / 0.7013 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2261, allocations: 31.92 kB / 0.7013 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2264, allocations: 43.62 kB / 0.7014 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.2271, allocations: 290.7 kB / 0.7017 GB, free: 428 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.2276, allocations: 0.728 MB / 0.7024 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.2276, allocations: 21.08 kB / 0.7024 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.2277, allocations: 19.44 kB / 0.7024 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.2277, allocations: 0 / 0.7024 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.007492/0.2352, allocations: 2.585 MB / 0.7049 GB, free: 13.05 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.031036396510899] Failed to read output from testmodel.py, exit status != 0: 0.24280147347599268 0.260023857 0.039659321000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3544bb97b0>